com.infoengine.messaging
Class SOAPTest

java.lang.Object
  extended bycom.infoengine.messaging.SOAPTest

public class SOAPTest
extends Object

properties (default propFile is jms.properties): ctxFactory (default com.sun.jndi.ldap.LdapCtxFactory) admin.uri (default none, required, e.g. "ldap://host/cn=MQSeries,dc=host,...") admin.principal (default none, optional, e.g. cn=Manager) admin.credentials (default none, optional, e.g. admin) qcf (default cn=SOAP.qcf) qcf.user (default none, user to connect to MOM) qcf.pass (default none, pass to connect to MOM) in.queue (default cn=SOAP.in) out.queue (default cn=SOAP.out) out.queue.wait (default -1, time out on response in millis, < 0 means blocking)


Field Summary
(package private)  Context ctx
           
(package private)  javax.jms.Queue inQ
           
(package private)  javax.jms.Queue outQ
           
(package private)  String propFile
           
(package private)  Properties props
           
(package private)  javax.jms.QueueConnectionFactory qcf
           
 
Constructor Summary
SOAPTest(String[] args)
           
 
Method Summary
private  void echoResults(String soapText)
           
private  void getCtx()
           
private  void init()
           
private  void loadProps()
           
private  javax.jms.Queue lookupQ(String queueName)
           
private  javax.jms.QueueConnectionFactory lookupQCF(String qcfName)
           
private static void main(String[] args)
           
private  void usage()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

propFile

String propFile

props

Properties props

ctx

Context ctx

qcf

javax.jms.QueueConnectionFactory qcf

inQ

javax.jms.Queue inQ

outQ

javax.jms.Queue outQ
Constructor Detail

SOAPTest

public SOAPTest(String[] args)
         throws Exception
Method Detail

init

private void init()
           throws Exception
Throws:
Exception

loadProps

private void loadProps()
                throws Exception
Throws:
Exception

getCtx

private void getCtx()
             throws Exception
Throws:
Exception

lookupQ

private javax.jms.Queue lookupQ(String queueName)
                         throws Exception
Throws:
Exception

lookupQCF

private javax.jms.QueueConnectionFactory lookupQCF(String qcfName)
                                            throws Exception
Throws:
Exception

usage

private void usage()

echoResults

private void echoResults(String soapText)
                  throws Exception
Throws:
Exception

main

private static void main(String[] args)