After rebuilding my app from scratch with a fresh install of Tomcat,
everything seems to work. Maybe this was caused by the fact that I was using
the BlazeDS Turnkey version that contains a preconfigured instance of
Tomcat.

BTW: This is a great tutorial:
http://mmartinsoftware.blogspot.com/2008/05/simplified-blazeds-and-jms.html


2008/9/19 Christophe Herreman <[EMAIL PROTECTED]>

> Hi George,
>
> I'll take a look at the STOMP client.
>
> However I'm still wondering why this seems to fail. Do you need to setup
> the policy only with STOMP? Is it also need when running ActiveMQ, Tomcat
> and the flex client on the same machine?
>
> 2008/9/19 George <[EMAIL PROTECTED]>
>
>   I use ActiveMQ and it works just fine. Although, I use the STOMP
>> client, and you need to make sure that you have a flash policy server
>> set up to allow the socket connection to the message server.
>>
>> --- In [email protected] <flexcoders%40yahoogroups.com>,
>> "Christophe Herreman" <[EMAIL PROTECTED]>
>> wrote:
>>
>> >
>> > Hi,
>> >
>> > I am unable to consume messages sent via ActiveMQ from my Flex client.
>> > Sending messages via the Producer seems to work, I can also see that the
>> > Flex client is connected and subscribed via the properties on the
>> Consumer
>> > object, however the "message" event on the Consumer is never fired so it
>> > seems like the messages are not received.
>> >
>> > When I look in the ActiveMQ console, I can see the number of
>> subscribers,
>> > the number of messages sent and the number of messages received. The
>> strange
>> > thing is that the received messages counter seems to increment and
>> that I
>> > can also trace the log statements in the Tomcat console, but again no
>> > messages are received in the Flex client.
>> >
>> > Any ideas?
>> >
>> > --
>> > Christophe Herreman
>> > http://www.herrodius.com
>> > http://www.pranaframework.org
>> >
>>
>>  
>>
>
>
>
> --
> Christophe Herreman
> http://www.herrodius.com
> http://www.pranaframework.org
>



-- 
Christophe Herreman
http://www.herrodius.com
http://www.pranaframework.org

Reply via email to