Not sure what how you would go about using static queues. We are using tomcat -- we used JBoss for a bit with it's messaging capabilities, but recently switched back to tomcat/ActiveMQ.
Best of luck, Brian On 28 Mar 2007 02:38:09 -0700, elmiguelestaaqui <[EMAIL PROTECTED]> wrote: > > > > > > > Hello (again ;-) ) > > I've tried with the "dynamicQueues/queue1" and it's running!!! > thanks thanks thanks!!! > > But I would like to know how I can use static queues, any idea? > > Thanks! > > --- In flexcoders@yahoogroups.com, "Brian Dunphy" <[EMAIL PROTECTED]> wrote: > > > > Make sure you have the ActiveMQ jar file in your WEB-INF/lib directory. > > > > Also, my destination XML looks significantly different: > > > > <destination id="queue1"> > > <adapter ref="jms" /> > > <properties> > > <jms> > > <destination-type>Queue</destination-type> > > <message-type>javax.jms.TextMessage</message-type> > > <connection-factory>ConnectionFactory</connection-factory> > > <destination-jndi-name>dynamicQueues/queue1</destination-jndi-name> > > <delivery-mode>NON_PERSISTENT</delivery-mode> > > <message-priority>DEFAULT_PRIORITY</message-priority> > > <acknowledge-mode>AUTO_ACKNOWLEDGE</acknowledge-mode> > > <transacted-sessions>false</transacted-sessions> > > > > <initial-context-environment> > > <property> > > <name>Context.INITIAL_CONTEXT_FACTORY</name> > > > <value>org.apache.activemq.jndi.ActiveMQInitialContextFactory</value> > > </property> > > <property> > > <name>Context.PROVIDER_URL</name> > > <value>tcp://192.168.2.187:61616</value> > > </property> > > </initial-context-environment> > > > > </jms> > > </properties> > > <channels> > > <channel ref="my-rtmp" /> > > </channels> > > </destination> > > > > Most notably, I'm not sure you need the "java:" bit in your > > <destination-jndi-name> property, and you might consider adding the > > <initial-context-environment> section as I have above. > > > > Best of luck! > > > > Brian > > > > On 23 Mar 2007 05:57:18 -0700, elmiguelestaaqui > > <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > > > > > > > > > > Hi, > > > > > > I'm trying deploy activemq in jboss. All it's allright, I launch a > java app > > > that send messages to topic destination, but when I want to > connect from > > > flex consumer to that destination, no messages are received. > > > I have follow all steps in the activemq with jboss integration > tutorial: > > > > http://devzone.logicblaze.com/site/integrating-apache-activemq-with-jboss.html > > > > > > In the messaging-config.xml file of flex I have written: > > > > > > <destination id="chat-jms"> > > > <properties> > > > <server> > > > <durable>false</durable> > > > > <durable-store-manager>flex.messaging.durability.FileStoreManager</durable-store-manager> > > > </server> > > > <jms> > > > <message-type>javax.jms.ObjectMessage</message-type> > > > > <connection-factory>java:comp/env/JmsConnectionFactory</connection-factory> > > > > <destination-jndi-name>java:activemq/topic/inbound</destination-jndi-name> > > > <destination-name>flexChat</destination-name> > > > <delivery-mode>NON_PERSISTENT</delivery-mode> > > > <message-priority>DEFAULT_PRIORITY</message-priority> > > > <acknowledge-mode>AUTO_ACKNOWLEDGE</acknowledge-mode> > > > <transacted-sessions>false</transacted-sessions> > > > </jms> > > > </properties> > > > <channels> > > > <channel ref="my-rtmp"/> > > > </channels> > > > <adapter ref="jms"/> > > > </destination> > > > > > > > > > In the java app I connect to "activemq/topic/inbound", and I send > messages. > > > In the flex app I create a consumer, with destination "chat-jms", > but I > > > don't receive messages > > > :( > > > > > > Any suggestion? > > > > > > Thanks! > > > > > > > > > > > > -- > > Brian Dunphy > > > > > > -- Brian Dunphy