Flex (BlazeDS), JMS, and JBoss in a Nutshell

This morning, I published another tech doc for folks' use here at Broadchoice that was appropriate for sharing with the world. It describes how to configure a topic-style JMS destination within JBoss, connect a BlazeDS destination to it, and have a Flex consumer listen for messages from the BlazeDS destinatin (and therefore the JMS topic).

It's a Google doc, is available here:

Flex (BlazeDS), JMS, and JBoss in a Nutshell

Comments (Comment Moderation is enabled. Your comment will not appear until approved.)
Anthony's Gravatar Looks like there is a password on the document.
# Posted By Anthony | 8/20/08 1:38 PM
Joe Rinehart's Gravatar Sorry about that, fixed now!
# Posted By Joe Rinehart | 8/20/08 2:20 PM
eldalai's Gravatar I Have my Flex App in a Tomcat (por 9090) and the JMS in the jBoss in port (8080)...
How i define the jBoss:url:port properties?
   <destination id="mailServer-jms">
      <properties>
         <server>
            <durable>false</durable>
            <durable-store-manager>flex.messaging.durability.FileStoreManager</durable-store-manager>
         </server>
         <jms>
            <destination-type>Topic</destination-type>
            <message-type>javax.jms.ObjectMessage</message-type>
            <connection-factory>ConnectionFactory</connection-factory>
            <destination-jndi-name>topic/mailServerQ</destination-jndi-name>
            <destination-name>mailServerQ</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>
            <initial-context-environment>
               <property>
                  <name>java.naming.factory.initial</name>
                  <value>org.apache.activemq.jndi.ActiveMQInitialContextFactory</value>
               </property>
               <property>
                  <name>java.naming.provider.url</name>
                  <value>tcp://localhost:8080</value>
               </property>
            </initial-context-environment>
         </jms>
      </properties>
      <channels>
         <channel ref="my-rtmp"/>
            <channel ref="my-polling-amf"/>
         </channels>
      <adapter ref="jms"/>
   </destination>
# Posted By eldalai | 11/25/08 10:05 AM
BlogCFC was created by Raymond Camden. This blog is running version 5.9.1. Contact Blog Owner