public class EdnJmsEventReader extends Object
Modifier and Type | Method and Description |
---|---|
void |
close()
clean up the state and close the TopicConnection of the reader instance;
|
static EdnJmsEventReader |
createReader(javax.jms.TopicConnection topicConn, javax.jms.Topic topic, String subName, String clientId, QName eventName, XPathFilter filter, JmsConfig.JmsType jmsType, long timeout, boolean isXA, UserTransaction userTx, oracle.soa.management.facade.edn.IEDN edn) |
BusinessEvent |
read()
consume an EDN event from topic and return event to the caller
|
BusinessEvent |
read(long t)
consume an EDN event from topic and return event to the caller
|
void |
start()
start message delivery from the topic, called by caller to control the event consuming;
|
void |
stop()
temp stop the message delivery from the topic, called by caller to control the event consuming;
|
public static EdnJmsEventReader createReader(javax.jms.TopicConnection topicConn, javax.jms.Topic topic, String subName, String clientId, QName eventName, XPathFilter filter, JmsConfig.JmsType jmsType, long timeout, boolean isXA, UserTransaction userTx, oracle.soa.management.facade.edn.IEDN edn) throws javax.jms.JMSException
javax.jms.JMSException
public void start() throws Exception
javax.jms.JMSException
Exception
public void stop() throws Exception
javax.jms.JMSException
Exception
public void close() throws Exception
javax.jms.JMSException
Exception
public BusinessEvent read()
public BusinessEvent read(long t)
t
- - time out for receive message from subscription;