it.eng.spago.dispatching.jmschannel
Class AdapterJMSProxy

java.lang.Object
  extended byit.eng.spago.dispatching.jmschannel.AdapterJMSProxy
All Implemented Interfaces:
java.io.Serializable

public class AdapterJMSProxy
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
AdapterJMSProxy()
           
 
Method Summary
 void create()
           
 void sendMessage(java.lang.String queue, java.lang.String message)
          Inserisce un messaggio di testo nella coda.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdapterJMSProxy

public AdapterJMSProxy()
                throws javax.jms.JMSException,
                       javax.naming.NamingException
Method Detail

create

public void create()
            throws javax.naming.NamingException
Throws:
javax.naming.NamingException

sendMessage

public void sendMessage(java.lang.String queue,
                        java.lang.String message)
                 throws javax.jms.JMSException,
                        javax.naming.NamingException
Inserisce un messaggio di testo nella coda.

Parameters:
queue - String nome della coda JMS
message - String messaggio di testo da inserire in coda
Throws:
javax.jms.JMSException
javax.naming.NamingException