com.oracle.howto.activemq
Class ActiveMQApp

java.lang.Object
  extended by com.oracle.howto.activemq.ActiveMQApp

public class ActiveMQApp
extends java.lang.Object

This is a simple JMS Client which posts a message to ActiveMQ queue "queue.inbound" on which the MDB listens on


Constructor Summary
ActiveMQApp()
          Default constructor
 
Method Summary
static void createQueue(java.lang.String queueName)
          This will create a queue by the name queueName and post a TextMessage to the same queue on ActiveMQ
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActiveMQApp

public ActiveMQApp()
Default constructor

Method Detail

main

public static void main(java.lang.String[] args)
                 throws javax.jms.JMSException
Throws:
javax.jms.JMSException

createQueue

public static void createQueue(java.lang.String queueName)
                        throws javax.jms.JMSException
This will create a queue by the name queueName and post a TextMessage to the same queue on ActiveMQ

Parameters:
queueName -
Throws:
javax.jms.JMSException