How to configure connection pool for activeMQ with token security ?
Issue
-
We have an application deployed in EAP 6.x as a WAR with an MDB. We would like this MDB to subscribe to a remote activeMQ server which has a proprietary authentication implementation which expects a token as the password of the username/password set when establishing the JMS Connection.
-
Could you please guide us to:
- Documentation on how to configure the activemq remote connection factory/pool in standalone.xml
- How to implement a callback handler or equivalent for this factory/pool to allow us to control the username/password that will be used to build the connection so that we can inject the proprietary token as the password.
-
How do one configure a connection factory from an instance of jboss to connect to an external broker such that my MDB can listen to those external queues/topics.
-
How can one configure their own callback handler for the username/password for that the connection factory configured would use so that I can pass the correct username/password for each connection being created ?
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.x
- ActiveMQ
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.