electric.util.jms
Class JMSUtil

java.lang.Object
  extended byelectric.util.jms.JMSUtil

public final class JMSUtil
extends java.lang.Object

JMSUtil.

Author:
webMethods

Constructor Summary
JMSUtil()
           
 
Method Summary
static void cleanup()
           
static byte[] getMessageBytes(javax.jms.BytesMessage message)
           
static java.lang.Object jndiLookup(java.lang.String name, java.util.Hashtable properties)
           
static javax.jms.Queue lookupQ(java.lang.String name, java.util.Hashtable properties)
           
static javax.jms.QueueConnectionFactory lookupQConnFactory(java.lang.String name, java.util.Hashtable properties)
           
static void mergeProps(java.util.Hashtable source, java.util.Hashtable destination)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JMSUtil

public JMSUtil()
Method Detail

lookupQConnFactory

public static javax.jms.QueueConnectionFactory lookupQConnFactory(java.lang.String name,
                                                                  java.util.Hashtable properties)
                                                           throws javax.naming.NamingException
Parameters:
name -
properties -
Throws:
javax.naming.NamingException

lookupQ

public static javax.jms.Queue lookupQ(java.lang.String name,
                                      java.util.Hashtable properties)
                               throws javax.naming.NamingException
Parameters:
name -
properties -
Throws:
javax.naming.NamingException

jndiLookup

public static java.lang.Object jndiLookup(java.lang.String name,
                                          java.util.Hashtable properties)
                                   throws javax.naming.NamingException
Parameters:
name -
properties -
Throws:
javax.naming.NamingException

getMessageBytes

public static byte[] getMessageBytes(javax.jms.BytesMessage message)
                              throws java.io.IOException
Parameters:
message -
Throws:
java.io.IOException

mergeProps

public static void mergeProps(java.util.Hashtable source,
                              java.util.Hashtable destination)
Parameters:
source -
destination -

cleanup

public static void cleanup()
                    throws javax.naming.NamingException
Throws:
javax.naming.NamingException


copyright© 2001-2004 by webMethods All Rights Reserved.