title: Wildfly 10 with JMS (ActiveMQ)
body: <p>I successfully configured the Wildfly server with ActiveMQ as flow</p>
  
  <pre><code>    &lt;subsystem xmlns="urn:jboss:domain:messaging-activemq:1.0"&gt;
          &lt;server name="default"&gt;
              &lt;security enabled="false"/&gt;
              &lt;http-connector name="http-connector" socket-binding="http" endpoint="http-acceptor"/&gt;
              &lt;http-acceptor name="http-acceptor" http-listener="default"/&gt;
              &lt;jms-queue name="UpdateQueue" entries="java:/jms/UpdateQueue java:jboss/exported/jms/UpdateQueue"/&gt;
              &lt;connection-factory name="ConnectionFactory" entries="java:jboss/exported/jms/ConnectionFactory" connectors="http-connector"/&gt;
          &lt;/server&gt;
      &lt;/subsystem&gt;
  </code></pre>
  
  <p>The messages send/receive successfully from the queue using default native javax.jms implementation.</p>
  
  <p>I use the following configuration to access the JMS Queue to send/receive.</p>
  
  <pre><code>String EX_JNDI_FACTORY = "org.jboss.naming.remote.client.InitialContextFactory";
      String SERVER_URL = "http-remoting://127.0.0.1:8080";
      String JMS_FACTORY = "jms/ConnectionFactory";
      String QUEUE_NAME = "jms/UpdateQueue";
  </code></pre>
  
  <p>Most times the message took too long time between send and receive, sometimes its took 3 minutes between send and receive the message, I don't know the reason for this behavior. Any ideas?</p>