Results 1 to 4 of 4

Thread: Asynchronous messaging using TIBCO JMS

  1. #1
    Join Date
    Jul 2009
    Posts
    3

    Default Asynchronous messaging using TIBCO JMS

    I am new to spring.

    I have to receive JMS messages over by subscribing to a topic in JMS in Spring. I will be receiving messages over the tib bus every few milliseconds (i.e., very high message volume).

    I am being told that if I use DefaultSessionMessageListenerContainer, it creates connection,session and sends (or receives) message and closes all the connection and when it receives the next message, it will do all over again. Such being the case, I may miss some messages when the consumer goes down and comes back up again. It is also very inefficient.

    I will need some kind of connection pooling mechanism to get around this problem ? Is it true ?

    Spring has SingleConnectionFactory with 1 session, which would not be ideal in my case.

    Can I use TibJMSConnectionFactory in its place ?

    In a nutshell, my requirement is to "receive" subscribed jms topic messages using spring and I am asking you what is the best way to do it.

    Any help ?

  2. #2
    Join Date
    Jul 2009
    Posts
    3

    Default

    Can you please help ?

  3. #3
    Join Date
    Jul 2009
    Posts
    2

    Default can you post your config

    Hi, Can you post the configuration used to connect EMS topic .
    Thanks

  4. #4
    Join Date
    Jul 2009
    Posts
    3

    Default

    I havent connected yet. I want to know whether it is the right thing to do to use container and ConnectionFactory provided by spring.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •