org.apache.wsif.util.jms
Class JMS2HTTPBridge

java.lang.Object
  |
  +--org.apache.wsif.util.jms.JMS2HTTPBridge

public class JMS2HTTPBridge
extends java.lang.Object

This class implements a JMS to HTTP bridge. That is it takes SOAP messages off of a JMS queue and posts them using HTTP. The SOAP message in the HTTP response is put on a JMS reply queue. This class contains a main method which takes as parameters all the JMS and HTTP information needed. This bridge can be cold or warm started. Cold starting wipes messages off queues on startup, whereas warm starting does not.

Author:
Mark Whitlock

Constructor Summary
JMS2HTTPBridge(java.lang.String initialContextFactory, java.lang.String jndiUrl, java.lang.String queueConnectionFactory, java.lang.String readQueue, java.lang.String httpUrlString, java.lang.String startType, boolean verbose)
           
 
Method Summary
 void listen()
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JMS2HTTPBridge

public JMS2HTTPBridge(java.lang.String initialContextFactory,
                      java.lang.String jndiUrl,
                      java.lang.String queueConnectionFactory,
                      java.lang.String readQueue,
                      java.lang.String httpUrlString,
                      java.lang.String startType,
                      boolean verbose)
               throws java.lang.Exception
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception

listen

public void listen()
            throws WSIFException


Copyright © 2002, 2002 Apache XML Project. All Rights Reserved.