org.keel.services.event.jbossmq
Class JbossMQEventManager
java.lang.Object
org.keel.services.event.jbossmq.JbossMQEventManager
- All Implemented Interfaces:
- EventManager
- public class JbossMQEventManager
- extends java.lang.Object
- implements EventManager
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
host
private java.lang.String host
-
port
private java.lang.String port
-
jndiname
private java.lang.String jndiname
-
mode
private java.lang.String mode
-
secure
private boolean secure
-
url
private java.lang.String url
-
persistent
private boolean persistent
-
publisher
private TopicPublisher publisher
-
connection
private static TopicConnection connection
-
session
private static TopicSession session
-
topic
private static Topic topic
-
clientId
private int clientId
-
timeout
private int timeout
-
listeners
private java.util.Map listeners
-
JbossMQEventManager
public JbossMQEventManager()
setMessageDrivenContext
public void setMessageDrivenContext(MessageDrivenContext ctx)
-
-
ejbCreate
public void ejbCreate()
throws ModelException
-
The user of this KeelJmsClient can call open explicitly, or it will be called automatically the first time a message is sent.
-
-
- Throws:
ModelException
addListener
public void addListener(EventListener listener,
java.lang.String eventIdentifier)
-
- Specified by:
addListener in interface EventManager
-
post
public void post(Event e)
-
-
onMessage
public void onMessage(Message m)
-
-
postEvent
public void postEvent(Event e)
throws NestedException
-
- Specified by:
postEvent in interface EventManager
-
- Throws:
NestedException
ejbRemove
public void ejbRemove()
-
The caller should always use "close()" to close out the KeelJmsClient when it's done with it.
-
-
Please see keelframework.org for information about new Keel releases.