public class EdnClientUtil extends Object
| Constructor and Description |
|---|
EdnClientUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
convertEventToJmsMessage(BusinessEvent event, javax.jms.TextMessage msg)
Convert a Business Event (without context info) into JMS Text Message.
|
static void |
convertEventToJmsMessage(BusinessEvent event, javax.jms.TextMessage msg, Properties soaJndiProperties)
Convert a Business Event (with context info) into JMS Text Message.
|
static BusinessEvent |
convertJmsMessageToEvent(javax.jms.TextMessage msg)
Convert a JMS text message (without context info) into event.
|
static BusinessEvent |
convertJmsMessageToEvent(javax.jms.TextMessage msg, Properties soaJndiProperties)
Convert a JMS text message (with context info) into event.
|
public static void convertEventToJmsMessage(BusinessEvent event, javax.jms.TextMessage msg) throws Exception
event - - Business Event to be convertedmsg - - target JMS Text message.Exception - - if error occurspublic static void convertEventToJmsMessage(BusinessEvent event, javax.jms.TextMessage msg, Properties soaJndiProperties) throws Exception
event - - Business Event to be convertedmsg - - target JMS Text message.soaJndiProperties - - JNDI properties of SOA serverException - - if error occurspublic static BusinessEvent convertJmsMessageToEvent(javax.jms.TextMessage msg) throws Exception
msg - - JMS text message to be convertedException - - if error occurspublic static BusinessEvent convertJmsMessageToEvent(javax.jms.TextMessage msg, Properties soaJndiProperties) throws Exception
msg - - JMS text message to be convertedsoaJndiProperties - - JNDI properties of SOA serverException - - if error occurs