title: Flex + Spring + BlazeDS + Glassfish + OpenMQ - How do you configure the web-application-config for OpenMQ?
body: <p>I have the spring-flex-testdrive example (JMS chat application which uses a Topic to pub/sub messages) to work on Tomcat with ActiveMQ now I want to run this example on Glassfish with OpenMQ.  </p>
  
  <p>This is a related sample config I found online but it doesn't quite work for the Flex/Glassfish/OpenMQ/BlazeDs/Spring-Integration technology combination. 
   (<a href="http://74.125.95.132/search?q=cache:eUBFAc2QMoYJ:blog.nominet.org.uk/tech/2007/09/04/high-availability-jms-with-open-message-queue-and-spring/+spring+JmsTemplate+openmq+OR+%22open+MQ%22+-activeMq+-%22active+mq%22&amp;cd=17&amp;hl=en&amp;ct=clnk&amp;gl=us" rel="nofollow noreferrer">Link</a>)</p>
  
  <p>I can deploy it on Glassfish but it can't connect to the destination. I've seen forums mention just replace ActiveMQ with OpenMQ classes/bean declarations but that does not appear to be the case. How do you configure the web-application-context.xml for OpenMQ? What are the common gotcha's?</p>
  
  <p>Thanks.</p>