Skip to main content

How configure Glassfish to use embedded and remote queue broker ?

Please note these forums are being decommissioned and use the new and improved forums at
No replies
Joined: 2013-05-20
Points: 0

I have two servers, both Glassfish. They need to communicate with each other and this should be implemented on JMS. But I have a problem to configure server to connect to remote queue from Message Driven Bean.

I solved that I can do it by annotating bean MDB with addresslist config property, but it's hardcoding and remote broker needs to be online when application is starting. If not MDB is waiting for conneciton and application is not starting.

Any idea how to solve this ?