|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mule.transport.jms.AbstractRedeliveryHandler
public abstract class AbstractRedeliveryHandler
Field Summary | |
---|---|
protected JmsConnector |
connector
|
Constructor Summary | |
---|---|
AbstractRedeliveryHandler()
|
Method Summary | |
---|---|
protected MuleMessage |
createMuleMessage(javax.jms.Message message)
|
abstract void |
handleRedelivery(javax.jms.Message message)
Process the redelivered message. |
void |
setConnector(JmsConnector connector)
The connector associated with this handler is set before handleRedelivery() is called |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected JmsConnector connector
Constructor Detail |
---|
public AbstractRedeliveryHandler()
Method Detail |
---|
public abstract void handleRedelivery(javax.jms.Message message) throws javax.jms.JMSException, MuleException
RedeliveryHandler
MessageRedeliveredException
to indicate that the message should be
handled by the connector's exception handler.
handleRedelivery
in interface RedeliveryHandler
message
- the redelivered message
javax.jms.JMSException
- if properties cannot be read from the JMSMessage
MessageRedeliveredException
- should be thrown if the message should be
handled by the connection exception handler
MuleException
- if there is a problem reading or proessing the
messagepublic void setConnector(JmsConnector connector)
handleRedelivery()
is called
setConnector
in interface RedeliveryHandler
connector
- the connector associated with this handlerprotected MuleMessage createMuleMessage(javax.jms.Message message)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |