ok,
finaly got my mdb working, it
took me ten minutes to write and a whole day to deploy. You gotta love
j2ee. So here is my little tidbit of knowledge for all of you that are
currently feeling what was my frustration about an hour ago.
Steps to deploy message driven been in
orion1.5.2
I hope that this will clear some things up for some
of you. Hopefully those of you getting ready to try this for the first
time will make good use of this knowledge and not spend all day just trying to
get the mdb's to work.
As a quick test I would recomend modifing the
jmschat example to connect to the topic your mdb is listening to using the
connection factory you have created. And put a System.out.println("This is
my onMessage() method"); tag into your onMessage(Message msg) method in your mdb
then when you use the modified jmschat example to send a message you should see
this output on your screen then you will know that your mdb is working
properly.
//
========================================================= //
// This is my jms.xml
file
//
//
========================================================= //
//
========================================================= //
// This is an excert from my orion-ejb-jar.xml
file //
//
========================================================= //
//
========================================================= //
// This is an excert from my ejb-jar.xml
file //
//
========================================================= //
|
- MDB in orion 1.5.2 Tim Pouyer
- RE: MDB in orion 1.5.2 elephantwalker
- Strange problem with JSP Tim Pouyer
- Strange problem with JSP Daniel Lopez
- RE: MDB in orion 1.5.2 Mike Cannon-Brookes
- Re: MDB in orion 1.5.2 Tim Pouyer
- RE: MDB in orion 1.5.2 Robert Ren