Skip to Content
avatar image
Former Member

How to set QueueId (Queue Name) dynamically for EOIO JDBC/File senders?

I have File and JDBC senders that are using EOIO QoS.

I must enter a value of QueueId (Queue Name) in the configuration of the communication channels. But I want to set (or overwrite) this QueueId value dynamically to a value from the payload - in other words, to set a serialized context based on some identifier in the payload.

Does anybody know whether it's possible to set the QueueId (Queue Name) value dynamically to a value from the payload?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Aug 02, 2010 at 04:22 PM

    Hi,

    >>>Does anybody know whether it's possible to set the QueueId (Queue Name) value dynamically to a value from the payload?

    yes of course it can be set like that

    recently I implemented an adapter module which does exactly that (from the payload)

    for JMS adapter (but it works with file and jdbc too)

    all you need it to set is the sequenceID from the payload value - and that's it 😊

    Regards,

    Michal Krawczyk

    Add comment
    10|10000 characters needed characters exceeded

  • Aug 02, 2010 at 03:55 PM

    Queue name parameter of File/JDBC adapter cannot be set dynamically using Dynamic Configuration.

    Regards,

    Prateek

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 09, 2010 at 05:35 PM

    Hi Michal,

    Many thanks for providing this answer and for the link to the blog.

    I've looked through the blog code and it seems to be using the setConversationId method, so I presume this Message interface may have changed to use setSequenceId since the blog was written. I'm going to have to write an adaptor module to do this, so I guess I'll be finding out 😊

    Regards,

    Mark

    Add comment
    10|10000 characters needed characters exceeded