Re: use AMQ to transfer, about Security problem

2008-10-16 Thread Dave Stanley
Hi Gui, The attached file seems to work ok. Can you copy out the relevant parts and give it a try. /Dave On Thu, Oct 16, 2008 at 10:15 PM, gui pei <[EMAIL PROTECTED]> wrote: > Hi, Stanley > > I think that is not true. > > the duplex option is use to indicate message transfer direction, though

Re: use AMQ to transfer, about Security problem

2008-10-16 Thread gui pei
Hi, Stanley I think that is not true. the duplex option is use to indicate message transfer direction, though broker A connect with broker B, if you set it, the message can transfer from B to A. my understand is 'networkConnector' need to connect two broker, such as A and B, but you can only in

MDB sample available?

2008-10-16 Thread ilango_g
Hi I have embedded ActiveMQ with JBoss according to instructions provided. Now I want to create a Message-Driven Bean (MDB) that will be listening on an ActiveMQ queue. This Listener will receive the message and process it. I would also need a servlets that will communicate with the MDB. I have

Spring-JMS and reading messages from existing destinations in ActiveMQ

2008-10-16 Thread rajpreet
So I am doing this in my code to start a consumer, I use JmsTemplate to create connectionFactory, then create a connection, do a start , obtain a session , then create a consumer and set the Message Listener. So far so good, I am using Active MQ as the JMS provider, now if I use bring up my cons

map messages

2008-10-16 Thread Eugene79
Hi all, I am trying to pass map messages via activemq. So far it works java <--> java. I modified stomp.py to serialize dictionaries as described here: http://docs.codehaus.org/display/STOMP/Stomp+v1.1+Ideas So now I can send python dictionary and receive MapMessage in java. However, if I send

Looking for a Message Repository / BAM tools

2008-10-16 Thread Bob G.
Hello, I am looking for a tool to keep track of all the messages going through ActiveMQ. I would like to : - Store these message - Search them - Make some statistic etc. - Do some Event correlation - Be able to resend these messages on the Bus. - Message cont

Re: use AMQ to transfer, about Security problem

2008-10-16 Thread Dave Stanley
If the authorization is different for both ends of the network connector, I think you would need to remove the duplex="true" On Wed, Oct 15, 2008 at 11:46 PM, gui pei <[EMAIL PROTECTED]> wrote: > Hi, all > Here is a problem, does anyone know how to resolve it? > > I have two ActiveMQ broker, A an

Problem in sending SOPA with Attachment using Active MQ

2008-10-16 Thread jayasreeb
Hi, My requirement is to place SOAP Message with Attachment(binary data- Java object) in JMS. I am using fuse-message-broker-5.0.0.17. I have a producer program which creates a soap message with attachment(single attachment) using data handler and places it using SOAPMessageIntoJMSMessage.When i

Re: STOMP to ActiveMQ/JMS and message type

2008-10-16 Thread Dejan Bosanac
Hi Daniel, this is how ActiveMQ Stomp implementation works. Take a look at: http://activemq.apache.org/stomp.html#Stomp-WorkingwithJMSText/BytesMessagesandStomp if you send a content-length header, it will be treated as byte message. I don't see how it could be changed between 5.1 and 5.2, becau

Re: Tomcat6 + Spring 2.5 + ActiveMQ

2008-10-16 Thread Aakhunaten
I used the tcp protocol since the other machine uses perl scripts to consume/produce messages. Thanks for your inputs. Aakhunaten James.Strachan wrote: > > 2008/10/16 Aakhunaten <[EMAIL PROTECTED]>: >> >> Thanks, James. That solved my issue. My pom.xml had only this dependency >> >>

Re: Tomcat6 + Spring 2.5 + ActiveMQ

2008-10-16 Thread James Strachan
2008/10/16 Aakhunaten <[EMAIL PROTECTED]>: > > Thanks, James. That solved my issue. My pom.xml had only this dependency > >geronimo-spec >geronimo-spec-j2ee >1.4-rc4 >provided > > > But that does not add geronimo-jta-*.jar > > So, I have adde

Re: Tomcat6 + Spring 2.5 + ActiveMQ

2008-10-16 Thread Aakhunaten
Thanks, James. That solved my issue. My pom.xml had only this dependency geronimo-spec geronimo-spec-j2ee 1.4-rc4 provided But that does not add geronimo-jta-*.jar So, I have added this to my pom.xml as wwell org.

Re: Tomcat6 + Spring 2.5 + ActiveMQ

2008-10-16 Thread James Strachan
2008/10/16 Aakhunaten <[EMAIL PROTECTED]>: > > Hi, > > I am very new to ActiveMQ or messaging as such, so I apologize if my > question is very dumb. > > I have this app developed with Appfuse 2.0.2 with Spring 2.5. I run activemq > separately from /usr/share/activemq/bin/activemq. > > I have used e

Tomcat6 + Spring 2.5 + ActiveMQ

2008-10-16 Thread Aakhunaten
Hi, I am very new to ActiveMQ or messaging as such, so I apologize if my question is very dumb. I have this app developed with Appfuse 2.0.2 with Spring 2.5. I run activemq separately from /usr/share/activemq/bin/activemq. I have used embedded brokers inside spring's config file (applicationCon

mysql 4.1 ACTIVEMQ_ACKS primary key length

2008-10-16 Thread tricpod
Hi, I have to install ActiveMQ on a mysql 4.1 database. If I create ACTIVEMQ_ACKS with CREATE TABLE ACTIVEMQ_ACKS ( CONTAINER varchar(250) collate utf8_general_ci NOT NULL, SUB_DEST varchar(250) collate utf8_general_ci default NULL, CLIENT_ID varchar(250) collate utf8_general_ci NOT