|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
RedeliveryHandler is used to control how redelivered messages
are processed by a connector. Typically, a messsage will be re-tried once or
twice before throwing an exception. Then the Exception Strategy on the
connector can be used to forward the message to a jms or log the failure.
| Method Summary | |
void |
handleRedelivery(Message message)
process the redelivered message. |
void |
setConnector(JmsConnector connector)
The connector associated with this handler is set before handleRedelivery() is called |
| Method Detail |
public void setConnector(JmsConnector connector)
handleRedelivery() is called
connector - the connector associated with this handler
public void handleRedelivery(Message message)
throws JMSException,
MessageRedeliveredException,
org.mule.umo.MessagingException
MessageRedeliveredException to indicate that the message
should be handled by the connector Exception Handler.
message -
JMSException - if properties cannot be read from the JMSMessage
MessageRedeliveredException - should be thrown if the message
should be handled by the connection exception handler
org.mule.umo.MessagingException - if there is a problem reading or proessing the
message
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||