|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esperio.jms.JMSOutputAdapter
public abstract class JMSOutputAdapter
Implements a JMS output adapter.
Field Summary | |
---|---|
protected javax.jms.Destination |
destination
JMS Destination. |
protected JMSMessageMarshaller |
jmsMessageMarshaller
Marshaller to use. |
Constructor Summary | |
---|---|
JMSOutputAdapter()
|
Method Summary | |
---|---|
void |
destroy()
|
EPServiceProvider |
getEPServiceProvider()
|
JMSMessageMarshaller |
getJmsMessageMarshaller()
Returns the JMS message marshaller. |
AdapterState |
getState()
|
Subscription |
getSubscription(java.lang.String subscriptionName)
|
java.util.Map<java.lang.String,Subscription> |
getSubscriptionMap()
|
void |
pause()
|
void |
resume()
|
abstract void |
send(EventBean eventBean,
JMSMessageMarshaller jmsAdapterMarshaller)
Abstract send methods for marshalling and sending an event of to JMS care. |
void |
setDestination(javax.jms.Destination destination)
Sets the JMS destination. |
void |
setEPServiceProvider(EPServiceProvider epService)
|
void |
setJmsMessageMarshaller(JMSMessageMarshaller jmsMessageMarshaller)
Sets the JMS message marshaller. |
void |
setSubscriptionMap(java.util.Map<java.lang.String,Subscription> subscriptionMap)
|
void |
start()
|
void |
stop()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected JMSMessageMarshaller jmsMessageMarshaller
protected javax.jms.Destination destination
Constructor Detail |
---|
public JMSOutputAdapter()
Method Detail |
---|
public abstract void send(EventBean eventBean, JMSMessageMarshaller jmsAdapterMarshaller) throws EPException
eventBean
- is the eventjmsAdapterMarshaller
- is the marshaller
EPException
- when the send failedpublic JMSMessageMarshaller getJmsMessageMarshaller()
public void setJmsMessageMarshaller(JMSMessageMarshaller jmsMessageMarshaller)
jmsMessageMarshaller
- is the marshallerpublic void setDestination(javax.jms.Destination destination)
destination
- is the queue or topicpublic java.util.Map<java.lang.String,Subscription> getSubscriptionMap()
getSubscriptionMap
in interface OutputAdapter
public void setSubscriptionMap(java.util.Map<java.lang.String,Subscription> subscriptionMap)
setSubscriptionMap
in interface OutputAdapter
public Subscription getSubscription(java.lang.String subscriptionName)
getSubscription
in interface OutputAdapter
public EPServiceProvider getEPServiceProvider()
getEPServiceProvider
in interface AdapterSPI
public void setEPServiceProvider(EPServiceProvider epService)
setEPServiceProvider
in interface AdapterSPI
public void start() throws EPException
start
in interface Adapter
EPException
public void pause() throws EPException
pause
in interface Adapter
EPException
public void resume() throws EPException
resume
in interface Adapter
EPException
public void stop() throws EPException
stop
in interface Adapter
EPException
public void destroy() throws EPException
destroy
in interface Adapter
EPException
public AdapterState getState()
getState
in interface Adapter
|
© 2006-2015 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |