|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ikasan.framework.plugins.JMSEventPublisherPlugin
public class JMSEventPublisherPlugin
Plugin that knows how to publish an Event to JMS
| Constructor Summary | |
|---|---|
JMSEventPublisherPlugin(javax.jms.Destination destination,
javax.jms.ConnectionFactory connectionFactory,
JmsMessageEventSerialiser<?> jmsMessageEventSerialiser,
IkasanSecurityConf ikasanSecurityConf)
Constructor |
|
JMSEventPublisherPlugin(JndiDestinationFactory jndiDestinationFactory,
javax.jms.ConnectionFactory connectionFactory,
JmsMessageEventSerialiser<?> jmsMessageEventSerialiser,
IkasanSecurityConf ikasanSecurityConf)
Constructor |
|
| Method Summary | |
|---|---|
void |
invoke(Event event)
Invoke this plugin with an Event |
void |
setPriority(Integer priority)
Set the message priority |
void |
setTimeToLive(Long timeToLive)
Set the time to live |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JMSEventPublisherPlugin(javax.jms.Destination destination,
javax.jms.ConnectionFactory connectionFactory,
JmsMessageEventSerialiser<?> jmsMessageEventSerialiser,
IkasanSecurityConf ikasanSecurityConf)
destination - The destination for the messageconnectionFactory - The connection factoryjmsMessageEventSerialiser - The JMS message serialiserikasanSecurityConf - THe security configuration
public JMSEventPublisherPlugin(JndiDestinationFactory jndiDestinationFactory,
javax.jms.ConnectionFactory connectionFactory,
JmsMessageEventSerialiser<?> jmsMessageEventSerialiser,
IkasanSecurityConf ikasanSecurityConf)
jndiDestinationFactory - used for looking up the destination on demandconnectionFactory - The connection factoryjmsMessageEventSerialiser - The JMS message serialiserikasanSecurityConf - THe security configuration| Method Detail |
|---|
public void setTimeToLive(Long timeToLive)
timeToLive - the timeToLive to setpublic void setPriority(Integer priority)
priority - the message priority to set
public void invoke(Event event)
throws PluginInvocationException
EventInvocableEvent
invoke in interface EventInvocableevent - The event to pass to the plugin
PluginInvocationException - Exception if the plugin could not be invoked
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||