[jboss-user] [JCA/JBoss] - Receive object in jboss

sailu do-not-reply at jboss.com
Mon Jul 17 06:06:39 EDT 2006


Hi,
we are creating Receiver object like this

 QueueReceiver qReceiver = qSesTemp.createReceiver(qTemp, selectorTag);
it is creating object like this in Jboss

org.jboss.resource.adapter.jms.JmsQueueReceiver at 1247c45


But in case of weblogic the object is

weblogic.jms.client.JMSConsumer at 1c65037

My problem is receiver is not able to receive any message in jboss.
the same code is working in weblogic but in case of jboss it is not able to receive the message.


My receive method is
qConTemp.start();
            if(timeOutInSeconds == 0)
                timeOutInSeconds = 60;
            Message message = qReceiver.receive(timeOutInSeconds * 1000);

it is waiting up to given time and simply throwing exception 
and the message is comming null

but in weblogic it is working

can any one help me .


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958419#3958419

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958419



More information about the jboss-user mailing list