[
http://jira.jboss.com/jira/browse/JBESB-646?page=comments#action_12369050 ]
Daniel Bevenius commented on JBESB-646:
---------------------------------------
The JMS delivery mode can be set on the MessageProducer but can also be specified when
sending messages like this:
send(Message message, int deliveryMode, int priority, long timeToLive)
So maybe we should be checking the message in question to see if it should be sent
persistent/non-persistent. One could still specify a default delivery mode for the jms-bus
in the configuration which would be used if the message has no delivery mode specified.
But I'm not sure if there is any thing in the (ESB) Message object that indicates if
the message should be stored persistently.
Just a thought...
NON_PERSISTENT JMS messaging.
-----------------------------
Key: JBESB-646
URL:
http://jira.jboss.com/jira/browse/JBESB-646
Project: JBoss ESB
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: Rosetta
Affects Versions: 4.2 Milestone Release 2
Reporter: Daniel Bevenius
Assigned To: Daniel Bevenius
Priority: Critical
Fix For: 4.2
The current classes that deal with sending JMS messages, like JMSCourier, do not specify
a delivery mode when sending messages. The default is then that the messages are sent with
a delivery mode of persistent.
The request (see forum reference) is to be able have the delivery mode configurable so
one can avoid the persisting to stable storage.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira