ie.nuigalway.ecrg.jade.jmsagentgateway
Class JmsGateway

java.lang.Object
  |
  +--ie.nuigalway.ecrg.jade.jmsagentgateway.JmsGateway

public class JmsGateway
extends java.lang.Object

Proxy used by the JmsProxyAgent to connect to a JMS provider

Version:
0.5 12 January 2004
Author:
Edward Curry

Field Summary
private static org.apache.log4j.Category log
           
 
Constructor Summary
JmsGateway()
          Creates a new ProviderManager object.
 
Method Summary
 void deactivate()
          Deactivate the JmsGateway
 void deliver(ProviderInfo proInfo, JmsMessage msg)
          Deliver the message
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

private static org.apache.log4j.Category log
Constructor Detail

JmsGateway

public JmsGateway()
Creates a new ProviderManager object.

Method Detail

deactivate

public void deactivate()
Deactivate the JmsGateway


deliver

public void deliver(ProviderInfo proInfo,
                    JmsMessage msg)
             throws java.lang.Exception
Deliver the message

Parameters:
proInfo - Server Information to send message too
msg - Message to send
Throws:
java.lang.Exception - Error sending message