Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Testing my JMS onMessage method

807607Oct 23 2006 — edited Oct 23 2006
I have created an implementation of a JMS message driven bean and need to know the best wy to test it. I have my own mock Queue which I inject into the bean but now am wondered how do I call a method with the signature
 onMessage(Message incomingMessage) 
when I can't implement a Message object. ( Or can you tell me how best I can implement a Message object )

Thnx
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 20 2006
Added on Oct 23 2006
1 comment
815 views