Problems solved.  You only need:

@MessageDriven(
    description="My Message driven bean to test JMS implementation. ",
    name="PubMan",
    activationConfig={
        @ActivationConfigProperty(propertyName = "destinationType", 
propertyValue = "javax.jms.Topic")
        ,@ActivationConfigProperty(propertyName = "destination", propertyValue 
= "topic/testTopic") 
        
,@ActivationConfigProperty(propertyName="Durability",propertyValue="Durable")//subscription
          
,@ActivationConfigProperty(propertyName="acknowledgeMode",propertyValue = 
"AUTO-ACKNOWLEDGE")
    }
)



There is no need for userid or password of Topic.
All is working.
Garth


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3966028
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to