org.apache.servicemix.common.endpoints
Class SimpleEndpoint
java.lang.Object
org.apache.servicemix.common.Endpoint
org.apache.servicemix.common.endpoints.SimpleEndpoint
- All Implemented Interfaces:
- ExchangeProcessor
- Direct Known Subclasses:
- ConsumerEndpoint, ProviderEndpoint
public abstract class SimpleEndpoint
- extends Endpoint
- implements ExchangeProcessor
| Methods inherited from class org.apache.servicemix.common.Endpoint |
getDefinition, getDescription, getEndpoint, getInterfaceName, getRole, getService, getServiceUnit, isExchangeOkay, setDefinition, setDescription, setEndpoint, setInterfaceName, setService, setServiceUnit, toString, validate |
SimpleEndpoint
public SimpleEndpoint()
SimpleEndpoint
public SimpleEndpoint(ServiceUnit serviceUnit,
QName service,
String endpoint)
SimpleEndpoint
public SimpleEndpoint(DefaultComponent component,
javax.jbi.servicedesc.ServiceEndpoint endpoint)
activate
public void activate()
throws Exception
- Specified by:
activate in class Endpoint
- Throws:
Exception
deactivate
public void deactivate()
throws Exception
- Specified by:
deactivate in class Endpoint
- Throws:
Exception
getProcessor
public ExchangeProcessor getProcessor()
- Specified by:
getProcessor in class Endpoint
send
protected void send(javax.jbi.messaging.MessageExchange me)
throws javax.jbi.messaging.MessagingException
- Throws:
javax.jbi.messaging.MessagingException
sendSync
protected void sendSync(javax.jbi.messaging.MessageExchange me)
throws javax.jbi.messaging.MessagingException
- Throws:
javax.jbi.messaging.MessagingException
done
protected void done(javax.jbi.messaging.MessageExchange me)
throws javax.jbi.messaging.MessagingException
- Throws:
javax.jbi.messaging.MessagingException
fail
protected void fail(javax.jbi.messaging.MessageExchange me,
Exception error)
throws javax.jbi.messaging.MessagingException
- Throws:
javax.jbi.messaging.MessagingException
getExchangeFactory
public javax.jbi.messaging.MessageExchangeFactory getExchangeFactory()
- Returns:
- the exchangeFactory
getChannel
public javax.jbi.messaging.DeliveryChannel getChannel()
- Returns:
- the channel
getContext
public javax.jbi.component.ComponentContext getContext()
- Returns:
- the context
Copyright © 2005-2007 Apache Software Foundation. All Rights Reserved.