Hi, i am trying to deploy an MDB which is going to use a custom JMS Provider adapter which i binded to JNDI
Here is my MDB:
@MessageDriven(name="WSMQEchoMDB", activationConfig = { @ActivationConfigProperty(propertyName="messagingType", propertyValue="javax.jms.MessageListener"), @ActivationConfigProperty(propertyName="destinationType", propertyValue="javax.jms.Queue"), @ActivationConfigProperty(propertyName="destination", propertyValue="wsmq/GEDDEV1/JAVAQ7"), @ActivationConfigProperty(propertyName="providerAdapterJNDI", propertyValue="java:/GEDDEV1ConnectionFactoryProvider") }) public class WSMQEchoMDB { public void onMessage(Message msg) { System.out.println("Got message!"); } }