You can have a look at UserCredentialsConnectionFactoryAdapter for some inspiration. Maybe you can adapt it to fit your use-case?
2011/10/19 dkohlert <[email protected]>: > I am using camel to post messages to a JMS queue (ApacheMQ). I need to be > able to set a different username and password per message posted. Looking > through the documentation, samples, tutorials and forums, I have not found a > way to do this. Would someone give me a pointer on how I can do this? > > Thank you > Doug > > -- > View this message in context: > http://camel.465427.n5.nabble.com/dynamically-setting-username-password-for-jms-tp4919276p4919276.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- -- David J. M. Karlsen - http://www.linkedin.com/in/davidkarlsen
