You can use a custom processor or the content enrich[1] EIP to fetch the queuename from the database and set the CamelJmsDestinationName header. There is a small example in the JMS component[2] documentation.
As an alternative you can populate a header (as above) and then use the recipient list[3] EIP. [1] http://camel.apache.org/content-enricher.html [2] http://camel.apache.org/jms.html [3] http://camel.apache.org/recipient-list.html // Pontus On Fri, Sep 19, 2014 at 8:27 AM, trilochan237 <[email protected]> wrote: > Hi All, > > > Is it possible to pass queuenames to camelcontext.xml file at runtime by > fetching from database? > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Reading-queunames-from-database-to-camelcontext-xml-tp5756730.html > Sent from the Camel - Users mailing list archive at Nabble.com.
