To help debug your JMS client application, you can enable
tracing by setting the com.sybase.jms.debug
property
to true in the InitialContext object. When you
enable tracing, diagnostic messages are printed in the console window.
By default, tracing is disabled. This code sample illustrates how
to set the tracing property:
Properties prop = new Properties(); prop.put(“com.sybase.jms.debug”, “true”); javax.naming.Context ctx = new javax.naming.InitialContext(prop);
Copyright © 2005. Sybase Inc. All rights reserved. |