Re: Ruby + SSL + Stomp

2007-11-02 Thread Tom Samplonius
- "Marcos Alvares" <[EMAIL PROTECTED]> wrote: > Hello, > > I trying to build a secure application with ruby using "stomp over > ssl" ( Not ssl over stomp ). > > Like a: > "Stomp::Client.open( '', '', 'localhost', 61613, false)" > > Inside the 61617 ssl connection provided by the message bro

Re: ActiveMQ-CPP client crashes creating producers thru a broken ethernet link with ActiveMQ Message Broker

2007-11-02 Thread gavin123
I think we should have that delete statement in OpenWireProducerInfo destructor to avoid memory leak. To avoid Segmentation Fault from exception handling in OpenWireConnector::createProducer(), remove "delete producerInfo" statements, because "delete producer" already takes care of deleting produ

Re: activemq username/password config in tomcat jndi

2007-11-02 Thread Mario Siegenthaler
Just use the userName (uppercase N) and password property. This applies to JNDI as well as spring. Example tomcat config: Mario On 11/2/07, sudip <[EMAIL PROTECTED]> wrote: > > The activemq server I am using requires username and password for connection. > I have setup jndi resource in tom

ActiveMQ-CPP client crashes creating producers thru a broken ethernet link with ActiveMQ Message Broker

2007-11-02 Thread gavin123
I am writing a ActiveMQ-Cpp client using ActiveMQ-CPP version 2.1; This client application runs on Linux machine (Linux version 2.6.12-1.1381_FC3) An ActiveMQ Message Broker( version 4.2 ) process runs on another linux machine. If my application tries to create a producer while the ethernet con

activemq username/password config in tomcat jndi

2007-11-02 Thread sudip
The activemq server I am using requires username and password for connection. I have setup jndi resource in tomcat for the connectionFactory. How do I provide these auth parameters via tomcat config files or spring config files? -- View this message in context: http://www.nabble.com/activemq-

Active MQ User not authenticated on restart JBoss

2007-11-02 Thread CobraTheSleek
On JBoss, I am working with Active MQ Snapshot 5.0. I have JAAS security setup as per the example on the security page. When I run for the first time, i.e., no journaled entries in the activemq-data folder, the server starts up just fine. However, once I run tests againts the Broker, stop and rest

Active MQ MDB with JBoss

2007-11-02 Thread CobraTheSleek
I am trying to get an Active MQ MDB working with JBoss based of the example from http://activemq.apache.org/inbound-communication.html The one difference that I have is that I have security setup in my broker-config.xml and also have different name of the broker than the default. When I deploy t

Re: How does persistence work in activeMq?

2007-11-02 Thread youhaodeyi
If I store the messages how I can restore them. navneek wrote: > > Hi, > > There are options in ActiveMQ for persistence, either you can use > jdbcJournal or pure Jdbc DB persistence. > In either case message will be persisted into storage, incase of any > crash/disaster to broker. Whenever th

Re: broker1-->q1 to broker2-->q2

2007-11-02 Thread James Strachan
On 02/11/2007, Viswanath Durbha <[EMAIL PROTECTED]> wrote: > > To my surprise, there is no subscriber created in the JMX console for > broker1-->q1. May be the way I defined the activemq component in the xml > config file isn't correct. Do you see any conections on broker1 (tcp://localhost.localdo

Re: broker1-->q1 to broker2-->q2

2007-11-02 Thread Viswanath Durbha
To my surprise, there is no subscriber created in the JMX console for broker1-->q1. May be the way I defined the activemq component in the xml config file isn't correct. Don't have the faintest clue what's wrong with the above definition of activemq component. Viswanath

Re: broker1-->q1 to broker2-->q2

2007-11-02 Thread Viswanath Durbha
Also the "Number of Consumers" column on the web console for broker1-->1 remains 0. Viswanath Durbha wrote: > > I'm using to web consoles for broker1 and broker2 to send and also to see > what is happening to the message. The message just stays on broker1-->q1 > and doesn't go anywhere. > > >

Re: broker1-->q1 to broker2-->q2

2007-11-02 Thread Viswanath Durbha
I'm using to web consoles for broker1 and broker2 to send and also to see what is happening to the message. The message just stays on broker1-->q1 and doesn't go anywhere. James.Strachan wrote: > > It looks fine to me. Do you see the subscriber in the JMX console? > When you send a message to q

Re: Is it possible to suspend and resume message delivery for broker?

2007-11-02 Thread James Strachan
On 01/11/2007, Roger Hoover <[EMAIL PROTECTED]> wrote: > Stopping the consumers involves sending SIGTERM to them which could > kill them in the middle of processing a message. Being able to > suspend delivery would allow us to make sure they were no longer > processing messages before we kill them

Re: broker1-->q1 to broker2-->q2

2007-11-02 Thread James Strachan
It looks fine to me. Do you see the subscriber in the JMX console? When you send a message to q1 do you see it being consumed from JMX? On 02/11/2007, Viswanath Durbha <[EMAIL PROTECTED]> wrote: > > Thanks for the super quick reply. > > I've done the following configuration to activemq_broker1.xml

Re: broker1-->q1 to broker2-->q2

2007-11-02 Thread Viswanath Durbha
Thanks for the super quick reply. I've done the following configuration to activemq_broker1.xml file. I've added two activemq components. And then I added a camel route. But it doesn't seem to work for me. Am I missing something here? http://act

Re: broker1-->q1 to broker2-->q2

2007-11-02 Thread James Strachan
On 02/11/2007, Viswanath Durbha <[EMAIL PROTECTED]> wrote: > > Hi, > > I am using activemq 5.0. I have a question regarding forwarding messages > from two pre-configured queues on different broker instances. > > Let's say I'm running two brokers broker1 and broker2. broker1 will have a > queue q1 a

broker1-->q1 to broker2-->q2

2007-11-02 Thread Viswanath Durbha
Hi, I am using activemq 5.0. I have a question regarding forwarding messages from two pre-configured queues on different broker instances. Let's say I'm running two brokers broker1 and broker2. broker1 will have a queue q1 and broker2 will have a queue q2. How do I configure these brokers so tha