How to create temporary topic without blocking?

2012-02-06 Thread Aleksi Kallio
Hi, We have client apps connecting to our server environment using ActiveMQ, with failover enabled. Our users can have the app open on a laptop while moving from one network to another or to a completely unconnected place. ActiveMQ does beautiful failover, keeping the system running between

Re: Enterprise application throws unknown protocol tcp exception

2012-02-06 Thread Torsten Mielke
Hello, I have not used Glassfish yet but can provide some pointers. First of all there is no need to create queues or topics upfront in ActiveMQ. But it does not harm either. Destinations get created automatically by the broker on first usage. Then you use

Re: activemq crashed

2012-02-06 Thread trym
I have experienced exactly the same exception just recently despite I have been using v. 5.4.2 for a year and have never before seen this... I found something like it on jira 3131(https://issues.apache.org/jira/browse/AMQ-3131), but cannot just upgrade to the next version and cannot consistently

Re: Apollo (1.0) disconnected after 5 seconds

2012-02-06 Thread Hiram Chirino
Hi Lars, Apollo expects clients to send the first CONNECT frame within 5 seconds otherwise it terminates the connection. This is in place to help avoid denial of service attacks from un-authenticated users. Do you need it that timeout to be longer? On Sun, Feb 5, 2012 at 3:17 PM, Lars-Erik

Re: Apollo (1.0) disconnected after 5 seconds

2012-02-06 Thread Lars-Erik Helander
Hi Hiram Thanks for your clarification. I am new to Apollo and STOMP and I viewed the possibility to manually interact with the broker as I nice way to learn more about the protocol/broker. Do you know of any terminal software that would allow me to send an initial CONNECT frame-string as part of

Re: receive a msg from a Websphere MQ server (mq channel)

2012-02-06 Thread Ramon Bacardi
Thanks, mr Torsten - I have one more question : with your 2 methods, I have been told I can connect to MQ using MQ client API, this is, using a SVRCONN channel. But I would like to connect to MQ using the server API, this is, to a RCVR channel ... Can you provide any more opinion ? -- View this

configuration sample to connect 2 machines

2012-02-06 Thread Ramon Bacardi
Hi - I am new to ActiveMQ and have it installed and I have run OK the and/consumer and also ant/producer samples. But this environement (all in one machine) is very restricted. The real world is when you want to go to another machine. *Can someone provide a pointer to a ActiveMQ configuration to

Re: Apollo (1.0) disconnected after 5 seconds

2012-02-06 Thread Hiram Chirino
Ok. Opened up https://issues.apache.org/jira/browse/APLO-151 Should be simple to support. On Mon, Feb 6, 2012 at 7:58 AM, Lars-Erik Helander leh...@gmail.com wrote: Hi Hiram Thanks for your clarification. I am new to Apollo and STOMP and I viewed the possibility to manually interact with

Re: LDAPAuthorizationMap and Active Directory

2012-02-06 Thread Gary Tully
Is that something you can/want to contribute back. Would be great if we got a solution that worked for both. If you want to get that onto trunk, attach a patch to a new jira and tick the license grant check box on file upload. http://activemq.apache.org/contributing.html On 3 February 2012

Re: Active MQ C program Doubt

2012-02-06 Thread Gary Tully
http://activemq.apache.org/how-do-i-create-new-destinations.html On 5 February 2012 05:56, Gaya3 way2...@hotmail.com wrote: Hi Experts   What is the API to check /verify the queue is existing or not in the Active MQ.    CreateQueue API is always creating the queue, are there any options to

Re: configuration sample to connect 2 machines

2012-02-06 Thread Gary Tully
note the -Durl=tcp://localhost:61616 optional argument to the example ant scripts. start the broker on another node/machine. Then to run the examples locally against that broker, use the -Durl option but replace 'localhost' with the node name On 6 February 2012 13:26, Ramon Bacardi

Re: How to create temporary topic without blocking?

2012-02-06 Thread Timothy Bish
You need to use the Failover transport options to configure the transport to fail after some amount of time, the timeout option will let you do that, see: http://activemq.apache.org/failover-transport-reference.html On Mon, 2012-02-06 at 10:51 +0200, Aleksi Kallio wrote: Hi, We have

Re: Apollo (1.0) disconnected after 5 seconds

2012-02-06 Thread Lars-Erik Helander
Sounds great, thanks. From Jira it looked like you already committed code to svn. If I would build from svn, would I get the functionality wanted? How to configure the new option? Kind Regards Lars Skickat från min iPhone 6 feb 2012 kl. 14:46 skrev Hiram Chirino hi...@hiramchirino.com: Ok.

Re: LDAPAuthorizationMap and Active Directory

2012-02-06 Thread Chris Robison
I'd be happy to do that. What package do you want me to put the class in? Chris On Mon, Feb 6, 2012 at 7:51 AM, Gary Tully gary.tu...@gmail.com wrote: Is that something you can/want to contribute back. Would be great if we got a solution that worked for both. If you want to get that onto

Re: receive a msg from a Websphere MQ server (mq channel)

2012-02-06 Thread Torsten Mielke
Sorry Ramon, Not sure I can help much here. Camel certainly uses plain JMS APIs to connect to external JMS brokers. On Feb 6, 2012, at 2:22 PM, Ramon Bacardi wrote: Thanks, mr Torsten - I have one more question : with your 2 methods, I have been told I can connect to MQ using MQ client

Re: Enterprise application throws unknown protocol tcp exception

2012-02-06 Thread f...@yahoo-inc.com
Did you try to use localhost, or 127.0.0.1 for broker url? -- View this message in context: http://activemq.2283324.n4.nabble.com/Enterprise-application-throws-unknown-protocol-tcp-exception-tp4355337p4362086.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: LDAPAuthorizationMap and Active Directory

2012-02-06 Thread Chris Robison
Submitted the patch to https://issues.apache.org/jira/browse/AMQ-3701 Chris On Mon, Feb 6, 2012 at 8:55 AM, Chris Robison chrisdrobi...@gmail.comwrote: I'd be happy to do that. What package do you want me to put the class in? Chris On Mon, Feb 6, 2012 at 7:51 AM, Gary Tully

Re: Apollo (1.0) disconnected after 5 seconds

2012-02-06 Thread Hiram Chirino
Hi, I've updated the docs with those details at: http://activemq.apache.org/apollo/versions/1.1-SNAPSHOT/website/documentation/user-manual.html#Connectors Basically you need something like: connector id=tcp bind=tcp://0.0.0.0:61613 detect timeout=3/ /connector You find a link to the

Re: Apollo (1.0) disconnected after 5 seconds

2012-02-06 Thread Mohit Chawla
Hello, On Mon, Feb 6, 2012 at 6:28 PM, Lars-Erik Helander leh...@gmail.com wrote: Hi Hiram Thanks for your clarification. I am new to Apollo and STOMP and I viewed the possibility to manually interact with the broker as I nice way to learn more about the protocol/broker. Do you know of any

Re: Apollo (1.0) disconnected after 5 seconds

2012-02-06 Thread Lars-Erik Helander
Hi Hiram, I have tested the SNAPSHOT build and it works very well. Thank you very much for your excellent support :) Kind Regards Lars 2012/2/6 Hiram Chirino hi...@hiramchirino.com: Hi, I've updated the docs with those details at:

Re: Apollo (1.0) disconnected after 5 seconds

2012-02-06 Thread Lars-Erik Helander
Thank you very much. It looks useful. /Lars 2012/2/6 Mohit Chawla mohit.chawla.bin...@gmail.com: Hello, On Mon, Feb 6, 2012 at 6:28 PM, Lars-Erik Helander leh...@gmail.com wrote: Hi Hiram Thanks for your clarification. I am new to Apollo and STOMP and I viewed the possibility to manually

Re: Active MQ C program Doubt

2012-02-06 Thread Gaya3
Thanks gtully, here the challenge is i'm using AMQ C APIs for sending and receiving messages are there options available, i persume the security options are available only for JMS / Java based. Please advice on this regard, let me know some links which can help me. Regards Gayathri -- View

Question about activemq queue message events

2012-02-06 Thread Brian Wright
Title: Signature Hello, I'm actually asking this question on behalf of one of our developers. As I understand ActiveMQ (and Servicemix), when a message is placed into a queue, an event is fired off telling the consumer a new message is now present. It is then the

Re: PageFile is not loaded on the client (using scheduler)

2012-02-06 Thread trym
Hi I am facing the same problem and am curious about if you gotten any closer to a solution or gotten deeper into what causes the PageFile is not loaded problem? The jira 3131 seems to me to only handle the shutdown case and not the create a scheduled message. Can anyone elaborate on this? Any