public class ContentEnricher extends EIPEndpoint
lockManager, store, storeFactory, timerManager, wsdlExchangeTarget, wsdlResourceloggerdefinition, description, endpoint, interfaceName, service, serviceUnit| Constructor and Description |
|---|
ContentEnricher() |
| Modifier and Type | Method and Description |
|---|---|
javax.xml.namespace.QName |
getEnricherElementName()
returns the QName of the resulting root node
|
javax.xml.namespace.QName |
getRequestElementName()
Returns the QName of the element which contains the 'IN Message'
within the response message
|
javax.xml.namespace.QName |
getResultElementName()
Returns the QName of the element which contains the message
which was produced by the enricherTarget within the
response message
|
boolean |
isCopyAttachments() |
boolean |
isCopyProperties() |
void |
process(javax.jbi.messaging.MessageExchange exchange) |
protected void |
processAsync(javax.jbi.messaging.MessageExchange exchange) |
protected void |
processSync(javax.jbi.messaging.MessageExchange exchange) |
void |
setCopyAttachments(boolean copyAttachments)
If this is set to
true, message attachments from the incoming exchange and the enricher exchange will be copied
to the outgoing message exchange. |
void |
setCopyProperties(boolean copyProperties)
If this is set to
true, message properties from the incoming exchange and the enricher exchange will be copied
to the outgoing message exchange. |
void |
setEnricherElementName(javax.xml.namespace.QName enricherElementName)
Sets the QName of the resulting root node
|
void |
setEnricherTarget(ExchangeTarget enricherTarget)
The target that will receive a copy of the input message and return
an addtitional content.
|
void |
setRequestElementName(javax.xml.namespace.QName requestElementName)
Sets the QName of the element which contains the 'IN Message'
within the response message
|
void |
setResultElementName(javax.xml.namespace.QName resultElementName)
Sets the QName of the element which contains the message
which was produced by the enricherTarget within the
response message
|
void |
setTarget(ExchangeTarget target)
The target where the enriched exchanges are sent.
|
chooseFirstEndpointWithDescriptor, copyAttachments, copyProperties, getDefinition, getDefinitionFromDescription, getDefinitionFromWsdlExchangeTarget, getDefinitionFromWsdlResource, getDescription, getDescriptionForExchangeTarget, getEndpointsForExchangeTarget, getLockManager, getStore, getStoreFactory, getTimerManager, getWsdlExchangeTarget, getWsdlResource, setLockManager, setStore, setStoreFactory, setTimerManager, setWsdlExchangeTarget, setWsdlResource, start, stopactivate, deactivate, getRole, processInOnly, processInOutdone, fail, getChannel, getContext, getExchangeFactory, send, sendSyncgetEndpoint, getInterfaceName, getKey, getService, getServiceUnit, isExchangeOkay, prepareExchange, setDefinition, setDescription, setEndpoint, setInterfaceName, setService, setServiceUnit, toString, validatepublic javax.xml.namespace.QName getEnricherElementName()
public void setEnricherElementName(javax.xml.namespace.QName enricherElementName)
enricherElementName - QName of the resulting root nodepublic javax.xml.namespace.QName getRequestElementName()
public void setRequestElementName(javax.xml.namespace.QName requestElementName)
requestElementName - QNamepublic javax.xml.namespace.QName getResultElementName()
public void setResultElementName(javax.xml.namespace.QName resultElementName)
resultElementName - QNamepublic boolean isCopyProperties()
public void setCopyProperties(boolean copyProperties)
true, message properties from the incoming exchange and the enricher exchange will be copied
to the outgoing message exchange. The default value is false (do not copy message properties).copyProperties - public boolean isCopyAttachments()
public void setCopyAttachments(boolean copyAttachments)
true, message attachments from the incoming exchange and the enricher exchange will be copied
to the outgoing message exchange. The default value is false (do not copy message atachments).copyAttachments - protected void processAsync(javax.jbi.messaging.MessageExchange exchange)
throws java.lang.Exception
processAsync in class EIPEndpointjava.lang.Exceptionprotected void processSync(javax.jbi.messaging.MessageExchange exchange)
throws java.lang.Exception
processSync in class EIPEndpointjava.lang.Exceptionpublic void process(javax.jbi.messaging.MessageExchange exchange)
throws java.lang.Exception
process in interface Endpointprocess in class EIPEndpointjava.lang.Exceptionpublic void setTarget(ExchangeTarget target)
target - public void setEnricherTarget(ExchangeTarget enricherTarget)
enricherTarget - Copyright © 2005-2015 FuseSource. All Rights Reserved.