|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.soa.esb.couriers.CourierCollection
public class CourierCollection
Handle delivery of a message to a collection of Couriers.
Constructor Summary | |
---|---|
CourierCollection(java.util.Collection<EPR> eprs)
Construct the courier collection. |
Method Summary | |
---|---|
void |
cleanup()
Cleanup and release all couriers. |
boolean |
deliver(Message message)
Deliver the message to the list of couriers. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CourierCollection(java.util.Collection<EPR> eprs) throws MalformedEPRException, CourierException
eprs
- The collection of courier eprs.
MalformedEPRException
CourierException
Method Detail |
---|
public boolean deliver(Message message) throws CourierException, MalformedEPRException
message
- The message to deliverAsync.
CourierException
- For processing errors.
MalformedEPRException
- For configuration errors.public void cleanup()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |