Do you have an MDB container declared in your TomEE configuration? That
might be causing a problem.

Also, remember that messaging *can* be transactional and participate in a
global transaction. It's easy to forget that sometimes: if your entities
aren't persisting or your messages aren't getting sent, remember to check
to make sure you have your transaction boundaries declared.


*Jonathan S. Fisher*
*VP - Information Technology*
*Spring Venture Group*
(o) 913-653-8820

On Wed, Jul 8, 2015 at 6:44 PM, Leonardo K. Shikida <[email protected]>
wrote:

> not sure, but I think you need tomee+ and a JMS declaration in your tomee,
> like this
>
> http://tomee.apache.org/jms-resources-and-mdb-container.html
>
> []
>
> Leo
>
> On Wed, Jul 8, 2015 at 5:33 PM, siva106 <[email protected]> wrote:
>
> > I am learning message driven beans. I am trying out a sample example
> listed
> > on Tomee (http://tomee.apache.org/examples-trunk/simple-mdb/README.html
> ).
> > But my code isn't receiving any answers from ChatBean
> >
> > assertEquals("Hello, Test Case!", receiveText(answers));
> >
> > Anyone knows where the problem is ?
> >
> >
> >
> > --
> > View this message in context:
> >
> http://tomee-openejb.979440.n4.nabble.com/Tomme-message-driven-beans-not-responding-to-the-messages-tp4675472.html
> > Sent from the TomEE Users mailing list archive at Nabble.com.
> >
>

-- 
Email Confidentiality Notice: The information contained in this 
transmission is confidential, proprietary or privileged and may be subject 
to protection under the law, including the Health Insurance Portability and 
Accountability Act (HIPAA). The message is intended for the sole use of the 
individual or entity to whom it is addressed. If you are not the intended 
recipient, you are notified that any use, distribution or copying of the 
message is strictly prohibited and may subject you to criminal or civil 
penalties. If you received this transmission in error, please contact the 
sender immediately by replying to this email and delete the material from 
any computer.

Reply via email to