Hi everyone,
I have a question about flex messaging. What may prevent a messagetemplate from sending messages ?
Concidering the following code snippet:
The message template is correctly initialized (injected) and the publish channel as well as the flex client subscriber are configured. I even can receive the messages in case the upper send function is called within a local thread, e.g. "Thread-10". But if the trigger comes from the flex client, e.g. "http-bio-80-exec-4", the messages are not sent to the subscriber (flex client). Is there any security aspect that prevent the "http-" threads to use the messaging channel ?Code:messageTemplate.send(new AsyncMessageCreator() { public AsyncMessage createMessage() { AsyncMessage msg = messageTemplate.createMessageForDestination("clientFeed"); msg.setHeader("DSSubtopic", "mySubTopic"); msg.setBody(myBody); return msg; }
Kind regards
Sakr


Reply With Quote
