- 
        1. Re: JBoss EAP 6 and Oracle AQnickarls May 23, 2013 2:28 AM (in response to llpd)So what is the problem? You send messages but they are never recieved (attach message sending code)? 
- 
        2. Re: JBoss EAP 6 and Oracle AQllpd May 23, 2013 2:42 AM (in response to nickarls)I send the message and I can see the messages in my oracle AQ queue by running select from queue table, the issue is it doesnt get picked by MDB. here is code I use to put message into the queue: . . Context ctx = null; QueueSender queueSender = null; Properties props = new Properties(); try { props.put(Context.URL_PKG_PREFIXES, "org.jboss.ejb.client.naming"); props.put(Context.PROVIDER_URL, "remote://localhost:4447"); ctx = new InitialContext(props); Object obj = ctx.lookup("java:/jboss.test.ConnectionFactory"); System.out.println(obj); XAQueueConnectionFactory xaQueueConnectionFactory = (DiscXAQueueConnectionFactory) obj; XAQueueConnection xaConnection = xaQueueConnectionFactory.createXAQueueConnection(); XAQueueSession xaSession = xaConnection.createXAQueueSession(); Queue queue = (Queue) ctx.lookup("java:/jboss.test.queue"); QueueSession session = xaSession.getQueueSession(); queueSender = session.createSender(queue); xaConnection.start(); TextMessage tm = session.createTextMessage(); tm.setText("My test message"); queueSender.send(tm); } catch (Exception e) { throw new CommandException(e); } finally { if ( ctx != null ) { try { ctx.close(); } catch (NamingException e) { // TODO Auto-generated catch block e.printStackTrace(); } } } 
- 
        3. Re: JBoss EAP 6 and Oracle AQnickarls May 23, 2013 7:31 AM (in response to llpd)Try cranking up the related log levels and see if it leaves any traces. 
- 
        4. Re: JBoss EAP 6 and Oracle AQllpd May 23, 2013 7:37 AM (in response to nickarls)I suspect is got to do with the fact that my Jboss is using the default resource adapter(hornetq-ra) for MDB, trying to see if I can put one together and specify it on my MDB. 
- 
        5. Re: JBoss EAP 6 and Oracle AQjaikiran May 23, 2013 7:53 AM (in response to llpd)You can use the @org.jboss.ejb3.annotation.ResourceAdapter to specify a custom RA. By default it uses the HornetQ RA. 
- 
        6. Re: JBoss EAP 6 and Oracle AQllpd May 23, 2013 7:56 AM (in response to jaikiran)Busy following instructions from https://github.com/jbertram/generic-jms-ra , will see how it goes. thanks 
- 
        7. Re: JBoss EAP 6 and Oracle AQllpd May 26, 2013 1:35 PM (in response to llpd)Managed to sort it out using generic JMS ra 
- 
        8. Re: JBoss EAP 6 and Oracle AQmsulliv1 Oct 2, 2013 10:42 AM (in response to llpd)Can you share notes/configuration on how you got this to work? 
- 
        9. Re: JBoss EAP 6 and Oracle AQllpd Oct 17, 2013 6:08 AM (in response to msulliv1)Since my queue and connection factory were already bind to the JNDI, al i had to do was to put some activation properties on my MDB like below: @MessageDriven(name="my-mdb", activationConfig={ @ActivationConfigProperty(propertyName="destinationType",propertyValue="javax.jms.Queue"), @ActivationConfigProperty(propertyName="destination", propertyValue="java:/queue.test"), @ActivationConfigProperty(propertyName="jndiParameters", propertyValue="java.naming.factory.url.pkgs=org.jboss.ejb.client.naming"), @ActivationConfigProperty(propertyName="connectionFactory", propertyValue="java:/test.connectionFactory") }) @ResourceAdapter("generic-jms-ra.rar") Hope that helps. 
- 
        10. Re: JBoss EAP 6 and Oracle AQinet_gbo Feb 17, 2014 9:08 AM (in response to llpd)Hi, How did you bind the queue and connection factory to the JNDI? It would be great if you could share it. Thanks Günther 
- 
        11. Re: JBoss EAP 6 and Oracle AQllpd Aug 15, 2014 2:43 PM (in response to inet_gbo)We wrote custom driver that have thread that keep pooling the database and feeding the messages to the MDB. 
 
     
     
     
    