Re: setting dead Letter header in catch block?

2008-09-26 Thread Mick Knutson
I have also tried: } catch (Exception e) { log.error("X"); exchange.getOut().setHeader(Constants.EXCEPTION_MESSAGE, e.getMessage() + "."); throw new RuntimeException(e); } But this does not work

Trying to Secure ActiveMQ

2008-09-26 Thread Don Brown
I have followed the instructions here: http://activemq.apache.org/jmx.html And I am getting the http auth prompt when I go the admin url via my browser but I cannot for the life of me figure out where I define the username to enter here. Is it in jmx.password, jmx.access or activemq.xml? jmx.p

Re: ActiveMQ 5.1 Start Stop

2008-09-26 Thread spatel
Did you get a chance to test this by overriding the default port (1099)? I have another service that listens on port 1099, so I need to choose another port for the rmi connector. Thanks bsnyder wrote: > > On Fri, Sep 26, 2008 at 8:27 AM, spatel <[EMAIL PROTECTED]> wrote: >> >> Anyone know the

Re: ActiveMQ exception error

2008-09-26 Thread Bruce Snyder
On Fri, Sep 26, 2008 at 1:40 PM, maned.ali <[EMAIL PROTECTED]> wrote: > > I have "activemq-core-4.1.1" obtained from maven, and I see the package > includes openwire classes... but somehow not being loaded...? > > I didn't used multicast, and this is my activemq.xml file > > > > xmlns="ht

Re: ActiveMQ exception error

2008-09-26 Thread maned.ali
I have "activemq-core-4.1.1" obtained from maven, and I see the package includes openwire classes... but somehow not being loaded...? I didn't used multicast, and this is my activemq.xml file http://activemq.org/config/1.0";>

Re: ActiveMQ exception error

2008-09-26 Thread Bruce Snyder
On Fri, Sep 26, 2008 at 12:44 PM, maned.ali <[EMAIL PROTECTED]> wrote: > > Thank you, Bruce for the reply. I don't see out of memory error in the log. > > I googed around and find one solution to the problem is to append > '?wireFormat=openwire&transport.useAsyncSend=false" after URL, but this > t

Re: ActiveMQ exception error

2008-09-26 Thread maned.ali
Thank you, Bruce for the reply. I don't see out of memory error in the log. I googed around and find one solution to the problem is to append '?wireFormat=openwire&transport.useAsyncSend=false" after URL, but this time, I got the following error: Could not find factory class for resource: META-

Re: Need help- controling the rate at which messages are pushed

2008-09-26 Thread Bruce Snyder
On Wed, Sep 24, 2008 at 12:13 AM, Nehel <[EMAIL PROTECTED]> wrote: > > Hi All > I need help in configuring the ActiveMQ. > I want to control the rate at which messages are pushed in Queue. > Currently I am able to push approximately 2 messages per min. > I need to control this rate to 10 messag

Re: Health check Activemq

2008-09-26 Thread Bruce Snyder
On Mon, Sep 22, 2008 at 3:36 AM, Janesh S <[EMAIL PROTECTED]> wrote: > > Hi, > > Is there a tool/code with which we can do health check of ActiveMQ. This is > needed to make sure that ActiveMQ connection is fine and the queue/topic is > ALIVE. Thanks. Sending messages is the best way to test. You

Re: Log4J ActiveMQ JMS Appender

2008-09-26 Thread Bruce Snyder
On Mon, Sep 22, 2008 at 3:20 PM, samuelbgs <[EMAIL PROTECTED]> wrote: > > We just reproduced this exact problem. Have you discovered the solution to > this? Do you any exceptions in the activemq.log file? Bruce -- perl -e 'print unpack("u30","D0G)[EMAIL PROTECTED]&5R\"F)R=6-E+G-N>61Ehttp://act

Re: 'At least once' guaranteed delivery

2008-09-26 Thread Bruce Snyder
On Fri, Sep 26, 2008 at 7:31 AM, krv <[EMAIL PROTECTED]> wrote: > > Hi, > > Does ActiveMQ support guaranteed delivery such that a message is delivered > at least once to one of the consumers? ActiveMQ implements the JMS 1.1 spec therefore message delivery is guaranteed according to use of various

Re: Can someone help me understand Endpoint mapping?

2008-09-26 Thread Bruce Snyder
On Fri, Sep 26, 2008 at 11:38 AM, Mick Knutson <[EMAIL PROTECTED]> wrote: > I am using many AMQ channels like: >*public static final String CHANNEL_GG_CS_CR_ADD = > "activemq:queue:channel/gogrid/cloudstorage/changerequest/add";* > > I am trying to understand how to use Endpoint names. Are Endp

Re: Durable subscriptions

2008-09-26 Thread Bruce Snyder
On Fri, Sep 26, 2008 at 7:32 AM, Yari Marchetti <[EMAIL PROTECTED]> wrote: > Hi everyone, > i was playing with durable subscriptions and observed a > behavior that seems strange to me. I configured ActiveMQ > with > > > > for every topic, and then created a durable subscriber for topic > "test" wi

Can someone help me understand Endpoint mapping?

2008-09-26 Thread Mick Knutson
I am using many AMQ channels like: *public static final String CHANNEL_GG_CS_CR_ADD = "activemq:queue:channel/gogrid/cloudstorage/changerequest/add";* I am trying to understand how to use Endpoint names. Are Endpoints just services such as "myProcessorServiceEndpoint" verse a channel itself?

Re: ActiveMQ 5.1 Start Stop

2008-09-26 Thread Bruce Snyder
On Fri, Sep 26, 2008 at 8:27 AM, spatel <[EMAIL PROTECTED]> wrote: > > Anyone know the cause of this problem? Is my configuration wrong? > > Any help would be greatly appreciated. > Thanks! > > spatel wrote: >> >> I am trying to use a port other than the default 1099. I'm using port >> 4099, but I

Re: ActiveMQ exception error

2008-09-26 Thread Bruce Snyder
On Fri, Sep 26, 2008 at 9:56 AM, maned.ali <[EMAIL PROTECTED]> wrote: > > Can someone please help me on the exception error posted below? > > I finally got a stack semi-working where I have a Flex/BlazeDS as JMS > client, which talks to a ActiveMQ JMS provider in the backend (the provider > is embe

ActiveMQ exception error Click to flag this post

2008-09-26 Thread maned ali
Can someone please help me on the exception error posted below? I finally got a stack semi-working where I have a Flex/BlazeDS as JMS client, which talks to a ActiveMQ JMS provider in the backend (the provider is embedded from Spring, and exposed through Tomcat JNDI). When the flex client starts,

ActiveMQ exception error

2008-09-26 Thread maned.ali
Can someone please help me on the exception error posted below? I finally got a stack semi-working where I have a Flex/BlazeDS as JMS client, which talks to a ActiveMQ JMS provider in the backend (the provider is embedded from Spring, and exposed through Tomcat JNDI). When the flex client starts

Re: Out Of Memory Error while running TopicPublisher/TopicListener

2008-09-26 Thread Badri
Hi, I was able to simulate the slow consumer in Linux. Ofcourse I did not get OutOfMemory problem now. So I feel OOME could be due to using Windows (still not sure). I was able to send more than 309000 messages. I got around 330 alerts for slow consumer. I did not give -Xmx or -Xms option for T

Re: ActiveMQ 5.1 Start Stop

2008-09-26 Thread spatel
Anyone know the cause of this problem? Is my configuration wrong? Any help would be greatly appreciated. Thanks! spatel wrote: > > I am trying to use a port other than the default 1099. I'm using port > 4099, but I get the following when I run activemq-admin stop: > > Error: Exception thrown b

Durable subscriptions

2008-09-26 Thread Yari Marchetti
Hi everyone, i was playing with durable subscriptions and observed a behavior that seems strange to me. I configured ActiveMQ with for every topic, and then created a durable subscriber for topic "test" with a unique client-id and subscription name. Using a producer i sent 3 messages to the "tes

'At least once' guaranteed delivery

2008-09-26 Thread krv
Hi, Does ActiveMQ support guaranteed delivery such that a message is delivered at least once to one of the consumers? Regards, Vivek -- View this message in context: http://www.nabble.com/%27At-least-once%27-guaranteed-delivery-tp19688548p19688548.html Sent from the ActiveMQ - User mailing lis

Re: SSL examples for ActiveMQ-CPP

2008-09-26 Thread Nathan Mittler
Hi Chris, Unfortunately, the SSL implementation is incomplete. The full implementation is currently aimed at the 2.3 release: http://issues.apache.org/activemq/browse/AMQCPP-140 Regards, Nate On Sep 25, 2008, at 5:56 PM, Chris Foote wrote: I noticed that CMS (current svn trunk) contains so

Re: cms dont's support udp protocol

2008-09-26 Thread Nathan Mittler
There aren't currently any plans to implement udp. However, contributions are always welcome :) Nate On Sep 25, 2008, at 6:05 PM, gui pei wrote: Hi, all Does anyone know when will cms support udp, and is there a report about tcp and upd's performance difference. Thanks. -- It's winte

Re: Active MQ 5.1 REST interface.

2008-09-26 Thread Dejan Bosanac
Hi, I've added some material regarding consuming messages with REST http://activemq.apache.org/rest.html#REST-Consuming Basically, you have to keep session alive between your GET requests and set prefetch size to 1 if you want to have multiple consumers. Cheers -- Dejan Bosanac http://www.t

Re: Topic counts explanation

2008-09-26 Thread deadfolk
Thanks Joe! I also just grabbed a copy of the PDF from your site. Looks like it will come in handy. -- View this message in context: http://www.nabble.com/Topic-counts-explanation-tp19666846p19685375.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.