How configure Glassfish to use embedded and remote queue broker ?
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 ?