[jboss-user] [EJB 3.0 Development] - HornetQ Resource Adapter and DLQ handling

jaikiran pai do-not-reply at jboss.com
Fri Apr 16 10:03:53 EDT 2010

jaikiran pai [http://community.jboss.org/people/jaikiran] replied to the discussion

"HornetQ Resource Adapter and DLQ handling"

To view the discussion, visit: http://community.jboss.org/message/537982#537982

> jaikiran pai wrote:
> 2) The meaning/usage of DLQ : In HornetQ, there are just Dead letter Addresses. But from the point of view of a JMS client (like MDB) which are just aware of (JMS) queues and (JMS) topics, how would the MDB subscribe to a dead letter (JMS) queue. I am still looking at the hornetq configs in AS and reading through the docs to see how the (hornetq) DLA is being setup. I guess, there needs to be some layer which sets up a (HornetQ) queue subscription to the DLA to make it look like the (JMS) DLQ.
We can stop worrying about this part now, because the reason why the DLQ/DLA is +not+ being triggered for the MDB, is because of this bug/config issue in HornetQ  http://community.jboss.org/message/537970#537970 http://community.jboss.org/message/537970#537970

I quickly hacked the MessageReference#getDeliveryCount() impl to return a value higher than the max-delivery-count and I could see that the message is redirected to the DLQ and the EJB3 test passes. So it's just a matter of fixing that issue mentioned in the other thread.

As for the other questions raised in this thread, they are still valid.


Reply to this message by going to Community

Start a new discussion in EJB 3.0 Development at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100416/b626dc16/attachment.html 

More information about the jboss-user mailing list