public abstract class AbstractSplitter extends EIPEndpoint
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
SPLITTER_CORRID |
static java.lang.String |
SPLITTER_COUNT |
static java.lang.String |
SPLITTER_INDEX |
lockManager, store, storeFactory, timerManager, wsdlExchangeTarget, wsdlResourcedefinition, description, endpoint, interfaceName, service, serviceUnit| Constructor and Description |
|---|
AbstractSplitter() |
| Modifier and Type | Method and Description |
|---|---|
protected javax.jbi.messaging.MessageExchange |
createPart(java.net.URI pattern,
javax.jbi.messaging.NormalizedMessage srcMessage,
javax.xml.transform.Source content) |
protected javax.jbi.messaging.MessageExchange[] |
createParts(javax.jbi.messaging.MessageExchange exchange) |
ExchangeTarget |
getTarget() |
boolean |
isForwardAttachments() |
boolean |
isForwardProperties() |
boolean |
isReportErrors() |
boolean |
isSynchronous() |
protected void |
processAsync(javax.jbi.messaging.MessageExchange exchange) |
protected void |
processSync(javax.jbi.messaging.MessageExchange exchange) |
void |
setForwardAttachments(boolean forwardAttachments)
Indicates if incoming attachments should be forwarded with the new exchanges.
|
void |
setForwardProperties(boolean forwardProperties)
Indicates if properties on the incoming message should be forwarded.
|
void |
setReportErrors(boolean reportErrors)
Indicates if faults and errors from splitted parts should be sent
back to the consumer.
|
void |
setSynchronous(boolean synchronous)
Specifies wether exchanges for all parts are sent synchronously or not.
|
void |
setTarget(ExchangeTarget target)
The address of the target endpoint.
|
protected abstract javax.xml.transform.Source[] |
split(javax.xml.transform.Source main) |
void |
start() |
void |
validate() |
chooseFirstEndpointWithDescriptor, copyAttachments, copyProperties, getDefinition, getDefinitionFromDescription, getDefinitionFromWsdlExchangeTarget, getDefinitionFromWsdlResource, getDescription, getDescriptionForExchangeTarget, getEndpointsForExchangeTarget, getLockManager, getStore, getStoreFactory, getTimerManager, getWsdlExchangeTarget, getWsdlResource, process, setLockManager, setStore, setStoreFactory, setTimerManager, setWsdlExchangeTarget, setWsdlResource, stopactivate, deactivate, getRole, processInOnly, processInOutdone, fail, getChannel, getContext, getExchangeFactory, send, sendSyncgetEndpoint, getInterfaceName, getKey, getService, getServiceUnit, isExchangeOkay, prepareExchange, setDefinition, setDescription, setEndpoint, setInterfaceName, setService, setServiceUnit, toStringpublic static final java.lang.String SPLITTER_COUNT
public static final java.lang.String SPLITTER_INDEX
public static final java.lang.String SPLITTER_CORRID
public boolean isSynchronous()
public void setSynchronous(boolean synchronous)
synchronous - the synchronous to setpublic boolean isReportErrors()
public void setReportErrors(boolean reportErrors)
reportErrors - The reportErrors to set.public ExchangeTarget getTarget()
public void setTarget(ExchangeTarget target)
target - The target to set.public boolean isForwardAttachments()
public void setForwardAttachments(boolean forwardAttachments)
forwardAttachments - The forwardAttachments to set.public boolean isForwardProperties()
public void setForwardProperties(boolean forwardProperties)
forwardProperties - The forwardProperties to set.public void validate()
throws javax.jbi.management.DeploymentException
validate in interface Endpointvalidate in class AbstractEndpointjavax.jbi.management.DeploymentExceptionpublic void start()
throws java.lang.Exception
start in interface Endpointstart in class EIPEndpointjava.lang.Exceptionprotected void processSync(javax.jbi.messaging.MessageExchange exchange)
throws java.lang.Exception
processSync in class EIPEndpointjava.lang.Exceptionprotected void processAsync(javax.jbi.messaging.MessageExchange exchange)
throws java.lang.Exception
processAsync in class EIPEndpointjava.lang.Exceptionprotected javax.jbi.messaging.MessageExchange[] createParts(javax.jbi.messaging.MessageExchange exchange)
throws java.lang.Exception
java.lang.Exceptionprotected javax.jbi.messaging.MessageExchange createPart(java.net.URI pattern,
javax.jbi.messaging.NormalizedMessage srcMessage,
javax.xml.transform.Source content)
throws java.lang.Exception
java.lang.Exceptionprotected abstract javax.xml.transform.Source[] split(javax.xml.transform.Source main)
throws java.lang.Exception
java.lang.ExceptionCopyright © 2005-2015 FuseSource. All Rights Reserved.