public class Resequencer extends ResequencerBase implements SequenceSender
lockManager, store, storeFactory, timerManager, wsdlExchangeTarget, wsdlResourceloggerdefinition, description, endpoint, interfaceName, service, serviceUnit| Constructor and Description |
|---|
Resequencer() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
processAsync(javax.jbi.messaging.MessageExchange exchange) |
protected void |
processSync(javax.jbi.messaging.MessageExchange exchange) |
void |
sendSync(java.util.List<javax.jbi.messaging.MessageExchange> exchanges)
Synchronously sends a list of message exchanges in the order given by the
argument list.
|
void |
sendSync(javax.jbi.messaging.MessageExchange exchange)
Synchronously sends a single message exchange.
|
void |
setCapacity(int capacity)
The capacity of this resequencer.
|
void |
setComparator(SequenceElementComparator<javax.jbi.messaging.MessageExchange> comparator)
The comparator used to determine the sequence order of elements.
|
void |
setTimeout(long timeout)
Set the timeout of this resequencer.
|
void |
start() |
void |
stop() |
createTargetExchange, getMessageCopier, getTarget, setTarget, validate, validateMessageExchangechooseFirstEndpointWithDescriptor, copyAttachments, copyProperties, getDefinition, getDefinitionFromDescription, getDefinitionFromWsdlExchangeTarget, getDefinitionFromWsdlResource, getDescription, getDescriptionForExchangeTarget, getEndpointsForExchangeTarget, getLockManager, getStore, getStoreFactory, getTimerManager, getWsdlExchangeTarget, getWsdlResource, process, setLockManager, setStore, setStoreFactory, setTimerManager, setWsdlExchangeTarget, setWsdlResourceactivate, deactivate, getRole, processInOnly, processInOutdone, fail, getChannel, getContext, getExchangeFactory, sendgetEndpoint, getInterfaceName, getKey, getService, getServiceUnit, isExchangeOkay, prepareExchange, setDefinition, setDescription, setEndpoint, setInterfaceName, setService, setServiceUnit, toStringpublic void setCapacity(int capacity)
capacity - public void setTimeout(long timeout)
timeout - public void setComparator(SequenceElementComparator<javax.jbi.messaging.MessageExchange> comparator)
comparator - public void start()
throws java.lang.Exception
start in interface Endpointstart in class EIPEndpointjava.lang.Exceptionpublic void stop()
throws java.lang.Exception
stop in interface Endpointstop in class EIPEndpointjava.lang.Exceptionpublic void sendSync(javax.jbi.messaging.MessageExchange exchange)
throws javax.jbi.messaging.MessagingException
SequenceSendersendSync in interface SequenceSendersendSync in class SimpleEndpointexchange - a message exchange.javax.jbi.messaging.MessagingException - if a system-level error occurs.public void sendSync(java.util.List<javax.jbi.messaging.MessageExchange> exchanges)
throws javax.jbi.messaging.MessagingException
SequenceSendersendSync in interface SequenceSenderexchanges - a list of message exchanges.javax.jbi.messaging.MessagingException - if a system-level error occurs.protected 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.ExceptionCopyright © 2005-2015 FuseSource. All Rights Reserved.