|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface HeuristicMessageConsumer
A message consumer with support for heuristic information. This information is kept in the logs and can help to provide details in case of indoubt or heuristic XA transactions during receive.
| Method Summary | |
|---|---|
javax.jms.Message |
receive(long timeout,
String hmsg)
Block until a message is there, but use the supplied heuristic information. |
javax.jms.Message |
receive(String hmsg)
Block until a message is there, and use the supplied heuristic information. |
javax.jms.Message |
receiveNoWait(String hmsg)
Do not block until a message is there, and use the supplied heuristic information. |
| Methods inherited from interface javax.jms.MessageConsumer |
|---|
close, getMessageListener, getMessageSelector, receive, receive, receiveNoWait, setMessageListener |
| Method Detail |
|---|
javax.jms.Message receive(String hmsg)
throws javax.jms.JMSException
hmsg - The heuristic information to show in case of problems.
javax.jms.JMSException
javax.jms.Message receive(long timeout,
String hmsg)
throws javax.jms.JMSException
hmsg - The heuristic information to show in case of problems.timeout - The timeout for receive.
javax.jms.JMSException - On error.
javax.jms.Message receiveNoWait(String hmsg)
throws javax.jms.JMSException
hmsg - The heuristic information to show in case of problems.
javax.jms.JMSException - On error.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||