using ActiveMQ from JNDI inside a EJB

It got my whole today.
If you get a connection factory inside an EJB using JNDI, it is by default transacted. and messages are not sent unless committed.
It is not the case when you manually create session using Active MQ session Factory.
ActiveMQ and OpenEJB were the environment

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.