[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: [JBMESSAGING-1367] Create JCA resource adapter for JBM 2
jesper.pedersen
do-not-reply at jboss.com
Wed Dec 3 12:16:18 EST 2008
anonymous wrote : I'm not sure what you mean. That is an instance of the interface...
Ok, so I need to pass discoveryGroupName and discoveryGroupPort in through the configuration.
anonymous wrote : Can you explain a bit more what endpoint isn't available means?
In this case it would be that a Message Driven Bean (endpoint) isn't available or failed to handle the incoming message.
| public void onMessage(Message message)
| {
| try
| {
| endpoint.beforeDelivery(JBMActivation.ONMESSAGE);
|
| try
| {
| if (dlqHandler == null
| || dlqHandler.handleRedeliveredMessage(message) == false)
| {
| MessageListener listener = (MessageListener) endpoint;
| listener.onMessage(message);
| }
| } finally
| {
| endpoint.afterDelivery();
|
| if (dlqHandler != null)
| dlqHandler.messageDelivered(message);
| }
| }
|
| catch (Throwable t)
| {
| log.error("Unexpected error delivering message " + message, t);
|
| if (txnStrategy != null)
| txnStrategy.error();
| }
| }
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4194105#4194105
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4194105
More information about the jboss-dev-forums
mailing list