Announcement Announcement Module
No announcement yet.
Spring DMLC behavior while using transactions Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring DMLC behavior while using transactions


    I have a some questions regarding transactions in DMLC and JMSTemplate.

    1. Does Spring DMLC receive messages asynchronously using callbacks if we are not using transactions ?

    2. Does DMLC also receive messages asynchronous while using transacted session. (setting sessionTransacted to true). What is the behavior after setting sessionTransacted to true ?

    3, What is the difference between AUTO_ACK and SESSION_TRANSACTED mode from consumer's prospective. In AUTO_ACK mode DMLC send acknowledgement to the broker after message is received. Similarly in SESSION_TRANSACTED mode DMLC commits after each message received. Which is the better way in terms of performance and what is the difference?

    4 Does JMSTemplate message sending is always synchronous. Even if It is sending non persistent messages to a topic ?

    Last edited by anujkhandelwal; Jun 17th, 2014, 09:46 AM.

  • #2
    Please, move your question to the StackOverflow - we are going to close this forum soon and rely on SO.
    We need to clean this forum (old unanswered question) before close it.

    Thanks for understanding