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 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: 1340 $
- 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 String getEndpoint()
- Returns:
- Returns the endpoint.
setEndpoint
public void setEndpoint(String endpoint)
- Parameters:
endpoint - The endpoint to set.
getInterface
public QName getInterface()
- Returns:
- Returns the interface name.
setInterface
public void setInterface(QName itf)
- Parameters:
interface - name
The interface name to set.
getOperation
public QName getOperation()
- Returns:
- Returns the operation name.
setOperation
public void setOperation(QName operation)
- Parameters:
operation - The operation to set.
getService
public QName getService()
- Returns:
- Returns the service.
setService
public void setService(QName service)
- Parameters:
service - The service to set.
getUri
public String getUri()
- Returns:
- the uri
setUri
public void setUri(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 Exception
- Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
- Throws:
Exception
Copyright © 2010 FuseSource. All Rights Reserved.