|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface HeuristicMessageConsumer
Copyright © 2002-2004, Atomikos. All rights reserved. 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 | |
|---|---|
Message |
receive(HeuristicMessage hmsg)
Block until a message is there, but use the supplied heuristic information. |
Message |
receive(HeuristicMessage hmsg,
long timeout)
Block until a message is there, but use the supplied heuristic information. |
Message |
receive(String hmsg)
Block until a message is there, and use the supplied heuristic information. |
Message |
receive(String hmsg,
long timeout)
Block until a message is there, but use the supplied heuristic information. |
Message |
receiveNoWait(HeuristicMessage hmsg)
Do not block until a message is there, and use the supplied heuristic information. |
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 |
|---|
Message receive(HeuristicMessage hmsg)
throws JMSException
hmsg - The heuristic information to show in case of problems.
JMSException - On error.
Message receive(String hmsg)
throws JMSException
hmsg - The heuristic information to show in case of problems.
JMSException
Message receive(HeuristicMessage hmsg,
long timeout)
throws JMSException
hmsg - The heuristic information to show in case of problems.timeout - The timeout for receive.
JMSException - On error.
Message receive(String hmsg,
long timeout)
throws JMSException
hmsg - The heuristic information to show in case of problems.timeout - The timeout for receive.
JMSException - On error.
Message receiveNoWait(HeuristicMessage hmsg)
throws JMSException
hmsg - The heuristic information to show in case of problems.
JMSException - On error.
Message receiveNoWait(String hmsg)
throws JMSException
hmsg - The heuristic information to show in case of problems.
JMSException - On error.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||