Re: thread is stuck is activemq is not started

2008-11-06 Thread Bruce Snyder
On Thu, Nov 6, 2008 at 10:54 PM, Robin Nagpal <[EMAIL PROTECTED]> wrote: > > Hi I am using this code to create a session > > private ConnectionFactory cf=new ActiveMQConnectionFactory(AMQ_USER, > AMQ_PASSWORD, this.AMQ_URL); >private Connection connection = cf.createConnection(); >

help need in configuring scenario

2008-11-06 Thread manish_goyal
Hi, I have a scenario in which I have a JAVA Application. JAVA application create a object and send that object to ActiveMQ JMS queue. Now from JMS queue, using log4j.xml file i need to extract the data from the object and send that data to file. Program flow:- JAVA Application ---> ActiveMQ JM

thread is stuck when activemq is not started

2008-11-06 Thread Robin Nagpal
Hi I am using this code to create a session private ConnectionFactory cf=new ActiveMQConnectionFactory(AMQ_USER, AMQ_PASSWORD, this.AMQ_URL); private Connection connection = cf.createConnection(); session = connection.createSession(false, Session.AUTO_ACKNOWLEDGE); now if I have

thread is stuck is activemq is not started

2008-11-06 Thread Robin Nagpal
Hi I am using this code to create a session private ConnectionFactory cf=new ActiveMQConnectionFactory(AMQ_USER, AMQ_PASSWORD, this.AMQ_URL); private Connection connection = cf.createConnection(); session = connection.createSession(false, Session.AUTO_ACKNOWLEDGE); now if I have

JMSAppender configuration

2008-11-06 Thread manish_goyal
Hi, I need to configure my log4j.xml file to log into ActiveMQ JMS queue. I have configured my java class file as logger using following settings:- static Logger myLogger = Logger.getLogger(MyClass.class.getName()); myLogger.setLevel(Level.INFO); myLayout= new SimpleLayout(); myAppender= new JMSA

JMS Message Producer runs continuosly

2008-11-06 Thread JMRAustin
Using ActiveMQ 5.1.0 or 5.2.0 RC3. My JMS Message Producer runs continuosly. The messages are sent and then the program just hangs. Here is the code I am using: import org.apache.activemq.ActiveMQConnectionFactory; import org.apache.log4j.*; import org.apache.log4j.net.*; import javax.jms.*;

Re: Dynamic Security Configuration of users and roles

2008-11-06 Thread Joe Fernandez
Hi Greg, AFAIK, ActiveMQ does not currently provide a solution to your specific programmatic requirement. Joe gfrank wrote: > > hi Joe, > > Thanks for the reply. Just to be absolutely clear, you are saying that > there is no existing authentication and authorization solution open to > pr

javax.jms.JMSException: Failed to build body from bytes

2008-11-06 Thread ashleyvijay
Hello I have the following Exception.Im using Spring Integration 1.0 RC1 + Tomcat 5.5.27 + ActiveMQ 5.1.0 Would appreciate help HTTP ERROR: 500 javax.jms.JMSException: Failed to build body from bytes. Reason: java.io.IOException: org.springframework.integration.message.GenericMessage RequestURI=

Re: Dynamic Security Configuration of users and roles

2008-11-06 Thread gfrank
hi Joe, Thanks for the reply. Just to be absolutely clear, you are saying that there is no existing authentication and authorization solution open to programmatic manipulation and i should write my own. Thanks, Greg Joe Fernandez wrote: > > There's both authentication and authorization to

ActiveMQ/JBoss MDB Destination From System Property

2008-11-06 Thread wconroy
I have an MDB running in jboss 4.2.2 that is set up to connect to an activeMQ Queue using annotations. What I need to do now is have it so that we can change the destination name without recompiling. I am not sure if I can configure the Activation Config Properties to have grab the destination n

Re: ActiveMQ JMS message and servicemix

2008-11-06 Thread Gary Tully
see: http://activemq.apache.org/how-can-i-monitor-activemq.html 2008/11/6 manish_goyal <[EMAIL PROTECTED]>: > > Hi, > > Please give some pointers for GUI or tool to see the ActiveMQ JMS message. I > need to check message when servicemix is start. > > Please reply my soon. > > Thanks > Manish > > >

ActiveMQ JMS message and servicemix

2008-11-06 Thread manish_goyal
Hi, Please give some pointers for GUI or tool to see the ActiveMQ JMS message. I need to check message when servicemix is start. Please reply my soon. Thanks Manish -- View this message in context: http://www.nabble.com/ActiveMQ-JMS-message-and-servicemix-tp20357952p20357952.html Sent fro

Re: Problem with Eclipse's runnable jar bundling Spring & ActiveMQ jar file

2008-11-06 Thread James Strachan
2008/11/6 hugberry <[EMAIL PROTECTED]>: > > I doubt it is a problem with ActiveMQ, but I just like to bring it up. I > have a demo eclipse/springide project for ActiveMQ. The demo works fine in > Eclipse, but when I export it to a Runnable jar (a feature of eclipse 3.4), > I notice that I will n