in the prev
ejb 2.x the activation config property took the user name password, if I use annotations to set the activationproperty
like this @ActivationConfigProperty(propertyName = "user", propertyValue = "subscriber"),
how can parameterize this value?
I tried doing this see the attribute properties to pass in username and password, but it simply ignores this , why?
<mbean code="org.jboss.jms.jndi.JMSProviderLoader"
name="jboss.mq:service=JMSProviderLoader,name=JMSProvider">
<attribute name="ProviderName">d2</attribute>
<attribute name="ProviderAdapterClass">
org.jboss.jms.jndi.JNDIProviderAdapter
</attribute>
<!-- The combined connection factory -->
<attribute name="FactoryRef">SomeConnectionFactory</attribute>
<!-- The queue connection factory -->
<attribute name="QueueFactoryRef">SomeConnectionFactory</attribute>
<!-- The topic factory -->
<attribute name="TopicFactoryRef">SomeConnectionFactory</attribute>
<!-- Uncomment to use HAJNDI to access JMS -->
<attribute name="Properties">
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
java.naming.factory.url.pkgs=org.jboss.naming
rg.jnp.interfaces
java.naming.provider.url=localhost:11099
java.naming.security.principal=user
java.naming.security.credentials=pass
</attribute>
[ November 24, 2008: Message edited by: Harsha Jay ]