The previous message shown an exception due to the jms destination being shutdown due
undeployment of the destination service descriptor. This cannot be triggered by the close of
the jms connection so how is that coming about?


xxxxxxxxxxxxxxxxxxxxxxxx
Scott Stark
Chief Technology Officer
JBoss Group, LLC
xxxxxxxxxxxxxxxxxxxxxxxx

On Friday, July 11, 2003, at 06:11 AM, Lyvers, William wrote:

Hauer,

This is the code that is executing on each request. At this point in time, we haven't even began caching off the context and such. One thing that I did notice, is that we are binding the clients to one port using the org.jboss.mq.il.uil2.localAddr and org.jboss.mq.il.uil2.localPort system properites from the client side. I am not sure if this would make a difference, since we are doing this for uil as well. I haven't had a chance to test taking these properties out. I believe we were originally setting these when trying to get through our firewall.



InitialContext iniCtx = new InitialContext( env );
QueueConnectionFactory qcf = (QueueConnectionFactory) iniCtx.lookup( QUEUE_CONNECTION_FACTORY );
QueueConnection conn = qcf.createQueueConnection(USERID,PASSWORD);
Queue que = (Queue) iniCtx.lookup(EVENT_QUEUE);
QueueSession session = conn.createQueueSession(false, QueueSession.AUTO_ACKNOWLEDGE);
conn.start();
QueueSender send = session.createSender(que);
ObjectMessage om = session.createObjectMessage( message );
om.setStringProperty ("MessageType", messageType );
send.send(om);
send.close();
conn.stop();
session.close();
conn.close();



Thanks, Billy



------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to