In a MDB, I received a message from Queue A and want to send that message to
Queue B.
public void onMessage(Message inmessage)
{
try
{
// Get the input message (Inquiry.xml) from Queue A
Thanks. I got the problem solved. I had to set up hsqldb jbdc service to make
it work. I went through the JMS concepts on the JBOSS site, but could find
anywhere the concept of having hsql or any other database for running JMS (MDB)
etc. I then gathered from the hsqldb-jdbc3-service.xml that it
1) I have been trying to use a standalone JMS sender.
import javax.jms.*;
import javax.naming.*;
public class MessageToQueue
{
public static void main(String[] args)
throws NamingException,JMSException
{
InitialContext ctx;
QueueConnectionFactory cf;
Que