|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.servicemix.eip.support.ExchangeTarget
public class ExchangeTarget
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).
| Constructor Summary | |
|---|---|
ExchangeTarget()
|
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
|
void |
configureTarget(javax.jbi.messaging.MessageExchange exchange,
javax.jbi.component.ComponentContext context)
Configures the target on the newly created exchange |
java.lang.String |
getEndpoint()
|
javax.xml.namespace.QName |
getInterface()
|
javax.xml.namespace.QName |
getOperation()
The operation QName that will be set on the exchange |
javax.xml.namespace.QName |
getService()
|
java.lang.String |
getUri()
|
void |
setEndpoint(java.lang.String endpoint)
The endpoint name of the target. |
void |
setInterface(javax.xml.namespace.QName itf)
The interface QName implemented by the target |
void |
setOperation(javax.xml.namespace.QName operation)
The operation QName invoked on this target. |
void |
setService(javax.xml.namespace.QName service)
The service QName of the target |
void |
setUri(java.lang.String uri)
An URI identifying the target |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExchangeTarget()
| Method Detail |
|---|
public java.lang.String getEndpoint()
public void setEndpoint(java.lang.String endpoint)
endpoint - The endpoint to set.public javax.xml.namespace.QName getInterface()
public void setInterface(javax.xml.namespace.QName itf)
itf - The interface name to set.public javax.xml.namespace.QName getOperation()
public void setOperation(javax.xml.namespace.QName operation)
operation - The operation to set.public javax.xml.namespace.QName getService()
public void setService(javax.xml.namespace.QName service)
service - The service to set.public java.lang.String getUri()
public void setUri(java.lang.String uri)
uri - the uri to set
public void configureTarget(javax.jbi.messaging.MessageExchange exchange,
javax.jbi.component.ComponentContext context)
throws javax.jbi.messaging.MessagingException
exchange - the exchange to configure
javax.jbi.messaging.MessagingException - if the target could not be configured
public void afterPropertiesSet()
throws java.lang.Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanjava.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||