| java.lang.Object com.mockrunner.jms.ConfigurationManager
ConfigurationManager | public class ConfigurationManager (Code) | | The ConfigurationManager is used
for global settings of the JMS test framework.
|
ConfigurationManager | public ConfigurationManager()(Code) | | |
getUseMessageSelectors | public boolean getUseMessageSelectors()(Code) | | Get if message selectors should be used.
true use message selectors,false ignore message selectors |
setDoCloneOnSend | public void setDoCloneOnSend(boolean doCloneOnSend)(Code) | | Set if a message should be cloned before sending it.
Default is false , i.e. the message is not
cloned. This has the advantage that the sent message can
be examined afterwards (e.g. if it is acknowledged).
If you set this to true , the message will
be cloned, i.e. the sent message will not be altered
and you have to obtain the received message in order
to examine it. However, the true option
is closer to a real JMS server, where you can send
the same message multiple times and the messages do
not influence each other.
Parameters: doCloneOnSend - the clone on send flag,default is false |
setUseMessageSelectors | public void setUseMessageSelectors(boolean useMessageSelectors)(Code) | | Set if message selectors should be used or simply
ignored while testing. Default is true ,
i.e. message selectors are used. Message selector support
of Mockrunner is based on a modified version of the
selector parser of the open source JMS implementation
ActiveMQ. It is a bit experimental at the moment. If there
are problems with the parsing or if you don't need message
selectors at all, turn them off. Disabling selector parsing also
results in a better test performance.
Parameters: useMessageSelectors - true use message selectors,false ignore message selectors |
|
|