Re: [flexcoders] creating messaging service destinations at run-time

2007-09-05 Thread Justin Fujita
No worries, I got it working by surrounding the message dispatch: msgBroker.routeMessageToService(msg, null); with try/catch cases, catching the exception where the destination does not exist, creating one and re-sending the message. It works. Thanks for your reply On 9/5/07, João Fernande

Re: [flexcoders] creating messaging service destinations at run-time

2007-09-05 Thread João Fernandes
you can eventually make an RPC call which will check if that destination exists and if not, create it for you and after getting the result from the rpc, you are ready to start pushing messages through that destination. I don't know if you can listen to those errors because I use CF as back-end a

[flexcoders] creating messaging service destinations at run-time

2007-09-05 Thread jfujita1
Hi, I'm wondering if there is a way for the message broker to create a destination if one does not currently exist. Right now I'm using bootstrapping to query a Database and instantiate all of the messaging service destinations upon server startup. If I need to push a message to a destination