Results 1 to 8 of 8

Thread: Message Listner

Hybrid View

  1. #1

    Default Message Listner

    if we will use message driven channel adaptor which is a kind of listner is it possible to create more than one listner for reading from paricular queue of active Mq.This is require because one listner will not be enough to read all the messages we need multiple instances of listner .We will recieve around million of messages in queue requestQueue for which one listner will not be enough so we need more than one .Please suggest.

    <jms:message-driven-channel-adapter channel="output" destination-name="requestQueue" />

  2. #2
    Join Date
    Jan 2008
    Location
    Mohnton, PA USA (that's near Philadelphia)
    Posts
    2,148

    Default

    Look at the concurrent-consumers and max-concurrent-consumers attributes. I am pretty sure that is what you need.

  3. #3

    Default

    Could you please provide me some link containing the details with example on these attributes.

  4. #4
    Join Date
    Jan 2008
    Location
    Mohnton, PA USA (that's near Philadelphia)
    Posts
    2,148

    Default

    Look at the Spring reference manual JMS section. Spring INtegration JMS support is based on Spring JMS so the attributes I've mentioned are the properties of the DefaultMessageListenerContainer

  5. #5

    Default

    I am reading the things from spring refrence version 2.0.5.RELEASE.I didn't get any thing thing on it.Please help me out,.

  6. #6
    Join Date
    Jan 2008
    Location
    Mohnton, PA USA (that's near Philadelphia)
    Posts
    2,148

    Default

    what is missing? There are 155 mentions of the word poller in the ref manual and over 20 different configuration samples explaining various details.

Posting Permissions

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