Deployment failure with JBoss and ActiveMQ 5.3

2009-09-23 Thread moonbird
Hi, I have a an eclipse Java Enterprise project, which consists of a ejb-project and a dynamic-web-project. My web-project needs the ActiveMQ client library to connect to the middleware. So I copied the activemq-all-5.3.jar to the folder WEB-INF/lib and starteted the EAR deployment to my JBoss 5

JMS to JMS Bridge - ActiveMQ to JBoss Messaging

2009-09-12 Thread moonbird
Hi, I have an AMQ 5.3.0 instance with some queues and I like to bridge them (via AMQ) to JBoss Messaging 1.x which is embedded in JBoss 5 AS. (JBoss with JBoss Messaging and AMQ-standalone instance are installed for the development on the same computer...) So I like to bridge FROM the AMQ queue:

Re: ActiveMQ c++ and Java

2009-08-30 Thread moonbird
...sorry, I was a little bit confused: this (CMSProperties are optinal properties which can be used...) std::cout << destination->getCMSProperties().toString() << std::endl; is different to the information about the destination (reply adress) object: destination = const_cast(msg->getCMSReplyTo()

ActiveMQ Request/Reply Pattern - Temporary Queues

2009-08-30 Thread moonbird
Hi, i tried to implement a request/reply jms pattern. For this test, I use a java client (activemq java jms libs) and a c++ server(also activemq cpp cms libs). The Java Client uses a java QueueRequestor(http://java.sun.com/javaee/5/docs/api/javax/jms/QueueRequestor.html): queueRequestor = new Qu

Re: ActiveMQ c++ and Java

2009-08-30 Thread moonbird
Hi, I think i got the problem - but I dont know how to fix it :-/ // Create the destination (Topic or Queue) // DEBUG reply information from TextMessage request std::cout << destination->getCMSProperties().toString() << std::endl; destination = const_cast(msg->getCMSReplyTo()->clone()); This is

ActiveMQ queue - JNDI lookup

2009-08-29 Thread moonbird
Hi, could it be, that i can not lookup destinations which are in the global jndi namespace of jboss ? i used activemq embedded in jboss5 via JCA with a ressource adapter. ...stationInfoQueue = (Queue) ctx.lookup("stationInfoQueue"); doesnt get null - but it also doenst work (the consument on the o

Re: ActiveMQ c++ and Java

2009-08-29 Thread moonbird
this is my java application: ... // Create connection. Create session from connection; false means // session is not transacted. Create requestor and text message. Send // messages, wait for answer and finally close session and connection. try {

ActiveMQ c++ and Java

2009-08-28 Thread moonbird
Hi, i have a c++ "CMS" Consument implemented with ActiveMQ-CPP library. This Consument listens on a ActiveMQ queue. I also have a ActiveMQ Java JMS Client as a "JMS" Producer which sends data to the queue. My c++ Consument successfully receives the text messages from the queue (XML-Text). Now

Re: JNDI with ActiveMQ embedded in JBoss AS

2009-08-27 Thread moonbird
...now I am getting a little bit confused. I can see the ActiveMQ ConnectionFactory registered in my Global-JNDI-Namespace. (Did you see what I posted in the JBoss forum ?) So did I find a bug ? In your described case no other JMS-Provider than JBoss Messaging could register objects in JBoss JNDI

Re: JNDI with ActiveMQ embedded in JBoss AS

2009-08-27 Thread moonbird
...now I am getting a little bit confused. I can see the ActiveMQ ConnectionFactory registered in my Global-JNDI-Namespace. (Did you see what I posted in the JBoss forum ?) So did I find a bug ? In your described case no other JMS-Provider than JBoss Messaging could register objects in JBoss JNDI

JNDI with ActiveMQ embedded in JBoss AS

2009-08-26 Thread moonbird
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=160367 ... here you find more information in detail. I think using: // this is from http://activemq.apache.org/jndi-support.html //props.setProperty(Context.INITIAL_CONTEXT_FACTORY,"org.apache.activemq.jndi.ActiveMQInitialContext

JNDI with ActiveMQ embedded in JBoss AS

2009-08-25 Thread moonbird
Hi, i have successfully embedded ActiveMQ via JCA/RA in JBoss 5.1: http://activemq.apache.org/integrating-apache-activemq-with-jboss.html Now I like to use JNDI to lookup ActiveMQs ConnectionFactory and the Destinations from a java/jms client outside the application server. My Problem is, th