org.apache.camel.seda
Class SedaEndpoint<E>

java.lang.Object
  extended by org.apache.camel.impl.DefaultEndpoint<E>
      extended by org.apache.camel.seda.SedaEndpoint<E>
All Implemented Interfaces:
Endpoint<E>

public class SedaEndpoint<E>
extends DefaultEndpoint<E>

Represents a SEDA endpoint using an internal Queue object to process inbound exchanges.

Version:
$Revision: 519901 $

Constructor Summary
SedaEndpoint(String uri, ExchangeConverter exchangeConverter)
           
SedaEndpoint(String uri, ExchangeConverter exchangeConverter, Queue queue)
           
 
Method Summary
 E createExchange()
          Create a new exchange for communicating with this endpoint
 Queue getQueue()
           
 void send(E exchange)
          Sends the mesage exchange to this endpoint
 
Methods inherited from class org.apache.camel.impl.DefaultEndpoint
convertTo, equals, getEndpointUri, getExchangeConverter, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SedaEndpoint

public SedaEndpoint(String uri,
                    ExchangeConverter exchangeConverter)

SedaEndpoint

public SedaEndpoint(String uri,
                    ExchangeConverter exchangeConverter,
                    Queue queue)
Method Detail

send

public void send(E exchange)
Description copied from interface: Endpoint
Sends the mesage exchange to this endpoint


createExchange

public E createExchange()
Description copied from interface: Endpoint
Create a new exchange for communicating with this endpoint


getQueue

public Queue getQueue()


Copyright © 2007 Apache Software Foundation. All Rights Reserved.