Results 1 to 5 of 5

Thread: Multiple DefaultMessageListenerContainer

  1. #1
    Join Date
    Oct 2007
    Posts
    7

    Default Multiple DefaultMessageListenerContainer

    hi,

    I have a requirement where I need to use selectors when reading from a queue. even though we have an option to set concurrent consumers but there is no way to specify selector for each of the consumer. the other option is to instantiate multiple DefaultMessageListenerContainer by using multiple AbstractMessageListenerContainer beans. I would like the number of message listeners to be dynamic. I am using java spring config file. Does anyone have any suggestions how to achieve this ?

    thanks
    Hamid

  2. #2

    Default

    I am looking into the same issue too.
    Last edited by pkbhavani; Jun 13th, 2008 at 04:51 PM.

  3. #3
    Join Date
    Feb 2007
    Location
    Ireland
    Posts
    56

    Default

    The last time we needed to do something like this we had to create an instance of DMLC for each different selector, couldnt find any other way to do it...am open to any corrections

  4. #4

    Default

    <<< The last time we needed to do something like this we had to create an instance of DMLC for each different selector, couldnt find any other way to do it...am open to any corrections


    same issue ... could not find another way ...am open to any corrections

  5. #5
    Join Date
    Feb 2011
    Posts
    3

    Default any solutions for this?

    has anyone found a workaround for this sort of requirement? I am too having same problem. Do i have to have multiple DMLC for different consumers? How many DMLC's can i have in my app? becoz my consumers can grow to 500-700 at any given point of time.

Posting Permissions

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