Hi,
I created a simple ejb3 MDB consuming topic messages.
When i deploy my simple.ear containing just one ejb3 with the one mdb class the
onMessage() Method fires whenever a message arrives.
Next step: Undeploy leads to 2 lines:
anonymous wrote :
| [EARDeployer] Undeploying J2EE application, destroy step: ...
| [EARDeployer] Undeployed J2EE application: ...
|
The mdb is still consuming messaging. Still alive ..
Now i try to deploy the ear again:
There are 2 mdbs consuming messaging. The one from the first deployment, and
the mdb from the 2nd deployment.
Im not yet sure if this issue is because im using activemq.rar instead of
jbossMQ. I just know that something is wrong with the undeployment feature.
JBoss Version: 4.0.4cr2
The test mdb:
@MessageDriven(activationConfig = {
| @ActivationConfigProperty(propertyName = "resourceAdaptorName",
propertyValue = "activemq-ra-4.0-M4.rar"),
| @ActivationConfigProperty(propertyName = "destinationType",
propertyValue = "javax.jms.Topic"),
| @ActivationConfigProperty(propertyName = "Destination",
propertyValue = "MyTest") })
| public class MyTestMDB implements MessageListener {
| public void onMessage(Message msg) {
| System.out.println("hello world");
| }}
|
any ideas?
Bernhard
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3937116#3937116
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3937116
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user