org.apache.oozie.client.event.jms
Class JMSMessagingUtils

java.lang.Object
  extended by org.apache.oozie.client.event.jms.JMSMessagingUtils

public class JMSMessagingUtils
extends Object

Client utility to convert JMS message to EventMessage object


Constructor Summary
JMSMessagingUtils()
           
 
Method Summary
static
<T extends EventMessage>
T
getEventMessage(javax.jms.Message msg)
          Constructs the EventMessage object from JMS message
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JMSMessagingUtils

public JMSMessagingUtils()
Method Detail

getEventMessage

public static <T extends EventMessage> T getEventMessage(javax.jms.Message msg)
                                              throws IOException,
                                                     javax.jms.JMSException
Constructs the EventMessage object from JMS message

Type Parameters:
T -
Parameters:
msg - the JMS message
Returns:
the EventMessage
Throws:
IOException
javax.jms.JMSException


Copyright © 2013 Apache Software Foundation. All Rights Reserved.