Re: Starting with Active MQ

2008-09-16 Thread Bruce Snyder
On Wed, Sep 17, 2008 at 12:11 AM, MonaTakle <[EMAIL PROTECTED]> wrote: > > We are doing a project in java & using activemq as the broker. Can anyone > please guide us how do we start with activemq? If you're not familiar with JMS, then there's some information here: http://activemq.apache.org/how

Starting with Active MQ

2008-09-16 Thread MonaTakle
We are doing a project in java & using activemq as the broker. Can anyone please guide us how do we start with activemq? -- View this message in context: http://www.nabble.com/Starting-with-Active-MQ-tp19525933p19525933.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Out Of Memory Error while running TopicPublisher/TopicListener

2008-09-16 Thread Rob Davies
Your client is running foul of the topic prefetch - either use more memory (as you've suggested) - or use a smaller prefetch - see http://activemq.apache.org/what-is-the-prefetch-limit-for.html. The slow consumer advisory will be generated from the broker when this limit is reached - but only

Re: difference between running ActiveMQ embedded and stand-alone

2008-09-16 Thread Rob Davies
On 16 Sep 2008, at 19:51, stanleychen wrote: Hello, Sorry for such basic question. I am using Spring for my application. I am wondering what differences there is between "embedded" ActiveMQ and "stand-alone" ActiveMQ. If I run ActiveMQ embedded, does thing mean remote clients can sti

Re: How to Secure Webconsole ?

2008-09-16 Thread Bruce Snyder
On Tue, Sep 16, 2008 at 5:27 PM, NabiL <[EMAIL PROTECTED]> wrote: > > > Concerninf first step (1. Define a UserRealm in jetty.xml), i don't find the > jetty.xml file > > > > > >ActiveMQ Realm > default="."/>/etc/amqrealm.properties > >

Re: How to Secure Webconsole ?

2008-09-16 Thread NabiL
Concerninf first step (1. Define a UserRealm in jetty.xml), i don't find the jetty.xml file ActiveMQ Realm /etc/amqrealm.properties bsnyder wrote: > > On Mon, Sep 15, 2008 at 8:35 AM, NabiL <[EMAIL PROTECTED]

Re: Difference setJMSExpiration setTimeToLive

2008-09-16 Thread Rob Davies
ooh - this is a problem of the JMS api - in general - JMS properties on a message are only set by the JMS provider - so if you set the JMSExpiration - it will be ignored - and overwritten when the message is sent - always use the producer level! cheers, Rob Rob Davies http://rajdavies.bl

Re: Out Of Memory Error while running TopicPublisher/TopicListener

2008-09-16 Thread Badri
I am running broker, publisher, consumer all in Windows. I have not tried this in Linux. The broker & publisher are working fine. It's the consumer which is crashing. Removing Thread.sleep(1000), consumer works fine. It did not crash for a good amount of time before I manually stopped the TopicLis

Re: unable to build active-mq cpp 2.1.3 on linux

2008-09-16 Thread Timothy Bish
Generally this occurs because the files did not get extracted from the tar file. First thing to do is check to make sure they actually exist in the directory 'src/main/activemq/connector/openwire/commands/'. Regards Tim. On Tue, 2008-09-16 at 11:50 -0700, gali_ka wrote: > I am unable to build

Re: Out Of Memory Error while running TopicPublisher/TopicListener

2008-09-16 Thread Bruce Snyder
On Tue, Sep 16, 2008 at 10:33 AM, Badri <[EMAIL PROTECTED]> wrote: > > Hi > > I am trying to simulate slow consumer using the classes > (TopicPublisher/TopicListener) provided in examples. > > I wanted to see if Web Console prints the Advisory topic for Slow Consumer. > But I am facing Out Of Memor

Re: difference between running ActiveMQ embedded and stand-alone

2008-09-16 Thread Joe Fernandez
An embedded broker executes within the same JVM process as the client(s) that is using its services. There may be one or more clients residing within a single JVM, each executing within its own thread of execution; all clients access the same embedded broker. The clients communicate with the embed

difference between running ActiveMQ embedded and stand-alone

2008-09-16 Thread stanleychen
Hello, Sorry for such basic question. I am using Spring for my application. I am wondering what differences there is between "embedded" ActiveMQ and "stand-alone" ActiveMQ. If I run ActiveMQ embedded, does thing mean remote clients can still connect up? Is my understand correct that embeeded

unable to build active-mq cpp 2.1.3 on linux

2008-09-16 Thread gali_ka
I am unable to build active-mq cpp on linux. 1. I installed cpp-unit 2. autogen.sh failed complaining about AM_PATH_CPPUNIT. I created symlinks for *.m4 files in my aclocal dir 3. i ran configure 4. ran make make failed with g++ -DHAVE_CONFIG_H -I. -I. -I../.. -ansi -pedantic -W -Wall -fPIC -fs

testNG test harness for Camel, sending and receiving messages

2008-09-16 Thread Mick Knutson
I am trying to setup camel within Maven to start my camel context via the org.apache.camel camel-maven-plugin 1.4.0 Now I was hoping that someone has already created a baseCamelTestNG class to start/stop camel, then helper cl

Re: Out Of Memory Error while running TopicPublisher/TopicListener

2008-09-16 Thread Badri
Another observation is: If I comment Thread.sleep(1000); the error does not appear. Everything works fine. I have 3 command prompts: 1 running the broker, another TopicPublisher & 3rd TopicListener. My PC is having 2GB of memory & I am currently not running many applications. James.Strachan

Difference setJMSExpiration setTimeToLive

2008-09-16 Thread greenapple
This is a general JMS question: what is the setJMSExpiration on the message level and setTimeToLive on the sender (producer) level? -- View this message in context: http://www.nabble.com/Difference-setJMSExpiration-setTimeToLive-tp19517510p19517510.html Sent from the ActiveMQ - User mailing li

Re: Out Of Memory Error while running TopicPublisher/TopicListener

2008-09-16 Thread Badri
Yes. James.Strachan wrote: > > The broker is a separate process to the slow consumer right? > > 2008/9/16 Badri <[EMAIL PROTECTED]>: >> >> Hi >> >> I am trying to simulate slow consumer using the classes >> (TopicPublisher/TopicListener) provided in examples. >> >> I wanted to see if Web Conso

Re: Out Of Memory Error while running TopicPublisher/TopicListener

2008-09-16 Thread James Strachan
The broker is a separate process to the slow consumer right? 2008/9/16 Badri <[EMAIL PROTECTED]>: > > Hi > > I am trying to simulate slow consumer using the classes > (TopicPublisher/TopicListener) provided in examples. > > I wanted to see if Web Console prints the Advisory topic for Slow Consumer

Re: New message timeout design question

2008-09-16 Thread Mick Knutson
1 thought I had looking through the patterns is using an aggregator. Even though there is only 1 message going out. Then, I could passivate the AggregatorCollection. Then add a correclationId to the outgoing message. Now I would expect the new message that was created by the Python service to hav

Re: Out Of Memory Error while running TopicPublisher/TopicListener

2008-09-16 Thread Badri
Active MQ 5.2 rajdavies wrote: > > Which version ? > On 16 Sep 2008, at 17:33, Badri wrote: > >> >> Hi >> >> I am trying to simulate slow consumer using the classes >> (TopicPublisher/TopicListener) provided in examples. >> >> I wanted to see if Web Console prints the Advisory topic for Slow

Re: Out Of Memory Error while running TopicPublisher/TopicListener

2008-09-16 Thread Rob Davies
Which version ? On 16 Sep 2008, at 17:33, Badri wrote: Hi I am trying to simulate slow consumer using the classes (TopicPublisher/TopicListener) provided in examples. I wanted to see if Web Console prints the Advisory topic for Slow Consumer. But I am facing Out Of Memory Error & the consu

Out Of Memory Error while running TopicPublisher/TopicListener

2008-09-16 Thread Badri
Hi I am trying to simulate slow consumer using the classes (TopicPublisher/TopicListener) provided in examples. I wanted to see if Web Console prints the Advisory topic for Slow Consumer. But I am facing Out Of Memory Error & the consumer stops abruptly. Following are changes I did: activemq.x

Re: JNDI and LDAP

2008-09-16 Thread Honcho
Honcho wrote: > > Thank u. > > > Joe Fernandez wrote: >> >> Sorry about the late response to your post, but I was just playing around >> with the concept of storing ActiveMQ admin objects in a LDAP directory >> service and I remembered this post. >> >> The ActiveMQ administered objects (i.e

Re: New message timeout design question

2008-09-16 Thread James Strachan
2008/9/15 Mick Knutson <[EMAIL PROTECTED]>: > I would like to get some design help on a situation I need to address. > > I have a Manager that sends a ChangeRequest message to a Python server. This > CR could take an hour to perform. But I want to implement a timeout on the > CR. So after I send ou

New message timeout design question

2008-09-16 Thread Mick Knutson
I would like to get some design help on a situation I need to address. I have a Manager that sends a ChangeRequest message to a Python server. This CR could take an hour to perform. But I want to implement a timeout on the CR. So after I send out this CR message, how do I create an alert message i

Re: 5.2.0 release schedule?

2008-09-16 Thread James Strachan
2008/7/9 sparky2708 <[EMAIL PROTECTED]>: > > Am also waiting for 5.2. Any concrete timeframe? Apache projects don't have well defined timeframes; but if you watch the dev list http://activemq.apache.org/discussion-forums.html you can watch the releases taking place. The vote is here http://www.na