configurationsection - activeMq-5.13.3 setup configurations for wildfly 10.0.0 -


hi new work on activemq, trying access messages send activemq in mdb onmsg() method unable things done here sample standalone-full.xml configuration.

<subsystem xmlns="urn:jboss:domain:messaging-activemq:1.0">                  <jms-queue name="favouritesqueue" entries="queue/favouritesqueue"/>              </server>         </subsystem> mdb configuration <mdb>                 <resource-adapter-ref resource-adapter-name="activemq-ra.rar"/>                 <bean-instance-pool-ref pool-name="mdb-strict-max-pool"/>             </mdb>    <subsystem xmlns="urn:jboss:domain:resource-adapters:4.0">             <resource-adapters>                 <resource-adapter id="activemq-ra.rar">                     <archive>                         activemq-rar-5.13.3.rar                     </archive>                     <transaction-support>xatransaction</transaction-support>                     <config-property name="serverurl">                         tcp://localhost:61616                     </config-property>                     <config-property name="username">                         admin                     </config-property>                     <config-property name="useinboundsession">                         false                     </config-property>                     <config-property name="password">                         admin                     </config-property>                     <connection-definitions>                         <connection-definition class-name="org.apache.activemq.ra.activemqmanagedconnectionfactory" jndi-name="java:/connectionfactory" enabled="true" pool-name="connectionfactory">                             <xa-pool>                                 <min-pool-size>1</min-pool-size>                                 <max-pool-size>20</max-pool-size>                                 <prefill>false</prefill>                                 <is-same-rm-override>false</is-same-rm-override>                             </xa-pool>                         </connection-definition>                     </connection-definitions>                     <admin-objects>                         <admin-object class-name="org.apache.activemq.command.activemqqueue" jndi-name="queue/favouritesqueue" use-java-context="true" pool-name="favouritesqueue">                             <config-property name="physicalname">                                 queue/favouritesqueue                             </config-property>                         </admin-object>                     </admin-objects>                 </resource-adapter>             </resource-adapters>         </subsystem> 


Comments

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -

unity3d - Fatal error- Monodevelop-Unity failed to start -