This project has retired. For details please refer to its
Attic page.
JMSMessagingUtils (Apache Oozie Client 4.0.1 API)
org.apache.oozie.client.event.jms
Class JMSMessagingUtils
java.lang.Object
org.apache.oozie.client.event.jms.JMSMessagingUtils
public class JMSMessagingUtils
- extends Object
Client utility to convert JMS message to EventMessage object
Method Summary |
static
|
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 |
JMSMessagingUtils
public JMSMessagingUtils()
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 © 2014 Apache Software Foundation. All Rights Reserved.