[jboss-user] [EJB 3.0] - Re: Own DLQ for EJB3-MDB via ActivationConfigProperty doesn'

jaikiran do-not-reply at jboss.com
Fri Feb 27 06:51:03 EST 2009


Let's see if we can find something in the logs. In my server.log file (under %JBOSS_HOME%/server/< serverName>/log folder) i see this:

anonymous wrote : 2009-02-27 17:07:51,666 DEBUG [org.jboss.resource.adapter.jms.inflow.JmsActivation] (WorkManager(2)-2) Setting up org.jboss.resource.adapter.jms.inflow.JmsActivationSpec at 2c0b34(ra=org.jboss.resource.adapter.jms.JmsResourceAdapter at 5df015 destination=queue/tutorial/example destinationType=javax.jms.Queue tx=true durable=false reconnect=10 provider=java:/DefaultJMSProvider user=null maxMessages=1 minSession=1 maxSession=15 keepAlive=60000 useDLQ=true DLQHandler=org.jboss.resource.adapter.jms.inflow.dlq.GenericDLQHandler DLQJndiName=queue/tutorial/Junk DLQUser=null DLQMaxResent=5)
  | 
  | ...
  | 
  | 2009-02-27 17:07:51,670 DEBUG [org.jboss.resource.adapter.jms.inflow.JmsActivation] (WorkManager(2)-2) Using context {java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces:org.jboss.naming:org.jnp.interfaces} for org.jboss.resource.adapter.jms.inflow.JmsActivationSpec at 2c0b34(ra=org.jboss.resource.adapter.jms.JmsResourceAdapter at 5df015 destination=queue/tutorial/example destinationType=javax.jms.Queue tx=true durable=false reconnect=10 provider=java:/DefaultJMSProvider user=null maxMessages=1 minSession=1 maxSession=15 keepAlive=60000 useDLQ=true DLQHandler=org.jboss.resource.adapter.jms.inflow.dlq.GenericDLQHandler DLQJndiName=queue/tutorial/Junk DLQUser=null DLQMaxResent=5)
  | 

The queue/tutorial/Junk is my custom DLQ configured on the MDB:
@MessageDriven(activationConfig =
  |         {
  |         @ActivationConfigProperty(propertyName="destinationType", propertyValue="javax.jms.Queue"),
  |         @ActivationConfigProperty(propertyName="destination", propertyValue="queue/tutorial/example"),
  |         @ActivationConfigProperty(propertyName="DLQJNDIName", propertyValue="queue/tutorial/Junk")
  |         })
  | public class ExampleMDB ...
  | 

What do your logs show?

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

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



More information about the jboss-user mailing list