org.apache.servicemix.bean.support
Class ExchangeTarget
java.lang.Object
org.apache.servicemix.bean.support.ExchangeTarget
- All Implemented Interfaces:
- org.springframework.beans.factory.InitializingBean
public class ExchangeTarget
- extends java.lang.Object
- implements org.springframework.beans.factory.InitializingBean
An ExchangeTarget may be used to specify the target of an exchange,
while retaining all the JBI features (interface based routing, service
name based routing or endpoint routing).
- Version:
- $Revision$
- Author:
- gnodet
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExchangeTarget
public ExchangeTarget()
getEndpoint
public java.lang.String getEndpoint()
- Returns:
- Returns the endpoint.
setEndpoint
public void setEndpoint(java.lang.String endpoint)
- Parameters:
endpoint - The endpoint to set.
getInterface
public javax.xml.namespace.QName getInterface()
- Returns:
- Returns the interface name.
setInterface
public void setInterface(javax.xml.namespace.QName itf)
- Parameters:
interface - name
The interface name to set.
getOperation
public javax.xml.namespace.QName getOperation()
- Returns:
- Returns the operation name.
setOperation
public void setOperation(javax.xml.namespace.QName operation)
- Parameters:
operation - The operation to set.
getService
public javax.xml.namespace.QName getService()
- Returns:
- Returns the service.
setService
public void setService(javax.xml.namespace.QName service)
- Parameters:
service - The service to set.
getUri
public java.lang.String getUri()
- Returns:
- the uri
setUri
public void setUri(java.lang.String uri)
- Parameters:
uri - the uri to set
configureTarget
public void configureTarget(javax.jbi.messaging.MessageExchange exchange,
javax.jbi.component.ComponentContext context)
throws javax.jbi.messaging.MessagingException
- Configures the target on the newly created exchange
- Parameters:
exchange - the exchange to configure
- Throws:
javax.jbi.messaging.MessagingException - if the target could not be configured
afterPropertiesSet
public void afterPropertiesSet()
throws java.lang.Exception
- Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
- Throws:
java.lang.Exception
Copyright © 2005-2015 FuseSource. All Rights Reserved.