Setup: Jboss 4.03 + ejb3

MDB configuration

  | @MessageDriven(activateConfig =
  |         {
  |         @ActivationConfigProperty(propertyName="destinationType", 
propertyValue="javax.jms.Queue"),
  |         @ActivationConfigProperty(propertyName="destination", 
propertyValue="queue/queueX"),
  |         @ActivationConfigProperty(propertyName="durability", 
propertyValue="NON_DURABLE"), //NON_DURABLE
  |         @ActivationConfigProperty(propertyName="minPoolSize", 
propertyValue="10"),
  |         @ActivationConfigProperty(propertyName="maxPoolSize", 
propertyValue="20")
  |         })
  |         public class MyMsgListener implements MessageListener
  | 

I am using MySql as the persistance for JMS

On my client side (msg genrator)

  | msg.setJMSDeliveryMode(DeliveryMode.NON_PERSISTENT);
  | 

By looking at mysql log, I can see every single message sent is being stored in 
the db before forwarding it to the MDB instance

How can I stop this behavior completly, I want my msg to be in memory only?

Thanks

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3924330#3924330

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3924330


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to