@MessageDriven(name = "TibcoListenerBean", activationConfig = { @ActivationConfigProperty(propertyName = "jndiParameters", propertyValue = "java.naming.factory.initial=com.tibco.tibjms.naming.TibjmsInitialContextFactory;java.naming.provider.url=tibjmsnaming://abc.my.com:7222;java.naming.factory.url.pkgs=com.tibco.tibjms.naming;org.jboss.as.naming.lookup.by.string=true"), @ActivationConfigProperty(propertyName = "connectionFactory", propertyValue = "TopicConnectionFactory"), @ActivationConfigProperty(propertyName = "destination", propertyValue = "MY.TOPIC.NAME"), @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Topic"), @ActivationConfigProperty(propertyName = "acknowledgeMode", propertyValue = "Auto-acknowledge")})
@ResourceAdapter("tibcoResourceAdapter")public class MyListenerBean implements MessageListener{
Enter code here..@MessageDriven(name = "TibcoListenerBean", activationConfig = { @ActivationConfigProperty(propertyName = "jndiParameters", propertyValue = "java.naming.factory.initial=com.tibco.tibjms.naming.TibjmsInitialContextFactory;java.naming.provider.url={PROVIDER.URL};java.naming.factory.url.pkgs=com.tibco.tibjms.naming;org.jboss.as.naming.lookup.by.string=true"), @ActivationConfigProperty(propertyName = "connectionFactory", propertyValue = "TopicConnectionFactory"), @ActivationConfigProperty(propertyName = "destination", propertyValue = {TOPIC.NAME}), @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Topic"), @ActivationConfigProperty(propertyName = "acknowledgeMode", propertyValue = "Auto-acknowledge")}).
<system-properties> <property name="property.tibjms.jndiParameters" value="java.naming.factory.initial=com.tibco.tibjms.naming.TibjmsInitialContextFactory;java.naming.provider.url=tibjmsnaming://tibcoServer:tibcoPort;java.naming.factory.url.pkgs=com.tibco.tibjms.naming;org.jboss.as.naming.lookup.by.string=true"/></system-properties>
<spec-descriptor-property-replacement>false</spec-descriptor-property-replacement> =>this line might be at the file already<annotation-property-replacement>true</annotation-property-replacement><jboss-descriptor-property-replacement>true</jboss-descriptor-property-replacement>
@MessageDriven(name = "MyListenerBean", activationConfig = { @ActivationConfigProperty(propertyName = "jndiParameters", propertyValue = "${property.tibjms.jndiParameters}"),