flux
Interface JmsTrigger

All Superinterfaces:
flux.Action, Cloneable, flux.j2ee.J2eeAction, flux.runtimedatamap.RuntimeDataMap, Serializable, flux.Trigger

public interface JmsTrigger
extends flux.Trigger, flux.j2ee.J2eeAction

JMS Trigger.


Nested Class Summary
static class JmsTrigger.JmsTriggerResult
          JmsTrigger Result
 
Method Summary
 String getConnectionFactory()
          Returns the JMS queue or topic factory.
 String getListeningQueueName()
           
 String getMessageSelector()
          Returns the optional message selector.
 String getPollingDelay()
           
 boolean isFetchAllMessages()
           
 void setConnectionFactory(String connectionFactory)
          Sets the JMS queue or topic factory.
 void setFetchAllMessages(boolean fetchAll)
           
 void setListeningQueueName(String queueName)
           
 void setMessageSelector(String messageSelector)
          Sets the optional message selector.
 void setPollingDelay(String timeExpression)
           
 
Methods inherited from interface flux.j2ee.J2eeAction
getExtraInitialContextProperties, getInitialContextFactory, getPassword, getProviderUrl, getUsername, setExtraInitialContextProperties, setInitialContextFactory, setPassword, setProviderUrl, setUsername
 
Methods inherited from interface flux.Action
addFlow, addFlow, addSignalFlow, clone, execute, getDescription, getFlows, getHiddenVariableNames, getJoinExpression, getName, getPostscript, getPostscriptLanguage, getPrescript, getPrescriptLanguage, getResultInfo, getSignalsToMonitor, getTimeoutBusinessInterval, getTimeoutExpression, getVariableManager, isEndOfRun, isJoinPoint, isSkippable, isStartAction, isStartOfRun, isTransactionBreak, removeFlow, reset, setDescription, setElseFlow, setEndOfRun, setErrorFlow, setErrorFlowWithoutRollback, setErrorFlowWithRollback, setJoinExpression, setJoinPoint, setName, setPostscript, setPostscriptLanguage, setPrescript, setPrescriptLanguage, setSignalsToMonitor, setSkippable, setStartAction, setStartOfRun, setTimeoutBusinessInterval, setTimeoutExpression, setTimeoutFlow, setTransactionBreak, verify, verifyOnClient
 
Methods inherited from interface flux.runtimedatamap.RuntimeDataMap
getRuntimeDataMap, setRuntimeDataMap
 

Method Detail

getListeningQueueName

String getListeningQueueName()
Returns:
the name of the queue we are listening to

getPollingDelay

String getPollingDelay()
Returns:
the polling delay between each attempt to fetch messages from the queue

getConnectionFactory

String getConnectionFactory()
Returns the JMS queue or topic factory.

Returns:
The JMS queue or topic factory.

getMessageSelector

String getMessageSelector()
Returns the optional message selector.

Returns:
The optional message selector.

isFetchAllMessages

boolean isFetchAllMessages()
Returns:
If true, we fetch all messages from the queue. If false, we just fetch one single message.

setConnectionFactory

void setConnectionFactory(String connectionFactory)
Sets the JMS queue or topic factory.

Parameters:
connectionFactory - The JMS queue or topic factory.

setFetchAllMessages

void setFetchAllMessages(boolean fetchAll)
Parameters:
fetchAll - If set to true, we fetch all messages from the queue. If set to false, we just fetch one single message.

setListeningQueueName

void setListeningQueueName(String queueName)
Parameters:
queueName - The name of the queue we are listening to

setMessageSelector

void setMessageSelector(String messageSelector)
Sets the optional message selector.

Parameters:
messageSelector - The optional message selector.

setPollingDelay

void setPollingDelay(String timeExpression)
Parameters:
timeExpression - the polling delay between each attempt to fetch messages from the queue


© 2012 Flux Corporation. All rights reserved.