[jboss-user] [Messaging, JMS & JBossMQ] - Re: Durable Topic that is password protected in EJB 3.
foxviewn2632
do-not-reply at jboss.com
Fri Aug 18 09:02:11 EDT 2006
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")
, at ActivationConfigProperty(propertyName = "destination", propertyValue = "topic/testTopic")
, at ActivationConfigProperty(propertyName="Durability",propertyValue="Durable")//subscription
, at 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
More information about the jboss-user
mailing list