java - How to Configuring ConnectionFactory JMS on JBossAS5? -


This is the first question in this forum .. :)

Please tell me how to do JMS ConnectionFactory on JBossAS5 I have created a simple MDB application:

  @MessageDriven (name = "MessageMDBSample", activationConfig = {@ActivationConfigProperty (property = "destinationType", propertyValue = "javax .jms. Queue "), @ActivationConfigProperty (Property =" Destination ", propertyValue =" Queue / MyQueue "), @ActivationConfigProperty (Property =" acknowledgeMode ", propertyValue =" Automatically accept ")})  

Public class DummyMDBeanBean applies MessageListener {

  Arwajnik void onMessage (Message message) {println ( "Hello"); }  

}

How to configure Row and ConnectionFactory, on this example queue / MyQueue on JBossAS5? ..

Thank you in advance .. :)

You can configure factories and destinations (line or subject):

Message Service / Connection-Factories-Service.XMM Message / Destination-Service. Xml

and check messaging / messaging-service.xml for any core configuration.

By the way, by default, you can modify the configuration of the Hypensational Embedded Database that comes with Jaboss AS. You can modify / create a connection factory in HSQLDB-ds.xml.

In these files, you can use the samples that you can easily create new ones.


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -