mirror queue is not created in the activemq's data folder

2010-09-14 Thread Mot
hiii In our project we are using activemq with mysql as external database. we enabled mirror queue in the activemq.xml file.but still it does not save the messages or topics in the broker. there are only 3 tables namely activemq_acks, activemq_msgs, activemq_lock. is it not working or wherev th

Re: how to save topics and messages in mysql database

2010-09-14 Thread pp
thanks again. but one prob my activemq_msgs table is not showing the destination_id column. and it only contain the reference of the message. -- View this message in context: http://activemq.2283324.n4.nabble.com/how-to-save-topics-and-messages-in-mysql-database-tp2539322p2539995.html Sent from

Re: wrapper.dll for 64-bit windows platform to run activemq

2010-09-14 Thread Magnus
Anyone that can share yajsw config files required to be able to register ActiveMQ as a windows service under 64-bit windows? Thanks in advance, Magnus. -- View this message in context: http://activemq.2283324.n4.nabble.com/wrapper-dll-for-64-bit-windows-platform-to-run-activemq-tp2365461p253999

Re: Failover problem

2010-09-14 Thread activeMqUser
Hi Johan, i have not changed any thing in the configuration for data storage.So by default it might be taking Memory for storing any data. I simply used the failover in config file as follows? Is there any thing else i should do or take care for failover? -- View this message in cont

Re: Failover problem

2010-09-14 Thread Johan Edstrom
How did you setup failover? Did you test that the brokers actually lock on either a file/memory/db-table? Visually - the DB setup is the easiest to see, you'll see a table lock in effect on the slave broker and that it is not starting. Are you possibly confusing persistence with HA? The two whi

Re: Failover problem

2010-09-14 Thread activeMqUser
Hi Johan, i have set up the clients for fail over as i mentioned in the previous posts even though i am not sure if i have done it correctly as i am very much a new user of ActiveMQ. I have posted the network configuration info and some log info also which shows the Main Broker is successfully co

Re: Failover problem

2010-09-14 Thread Johan Edstrom
Did you setup the clients to have failover capabilities? On Sep 14, 2010, at 10:48 PM, activeMqUser wrote: > > Yes it failed means, i am facing the above problem and the fail over is not > happening it seems. I have 3 Brokers running in 3 different port. On failure > of one broker(main broker) M

Re: Failover problem

2010-09-14 Thread activeMqUser
Yes it failed means, i am facing the above problem and the fail over is not happening it seems. I have 3 Brokers running in 3 different port. On failure of one broker(main broker) My Consumer which was initially connected to Main Broker is not able to switch to other Brokers. It is still keep on l

Re: Failover problem

2010-09-14 Thread Johan Edstrom
Did it fail? On Sep 14, 2010, at 10:35 PM, activeMqUser wrote: > > Hello, > > Can i get any help regarding this fail over problem? > > Its very urgent for me. Plz dont mind. > > > Thanks > Manoranjan > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/Failover-prob

Re: Failover problem

2010-09-14 Thread activeMqUser
Hello, Can i get any help regarding this fail over problem? Its very urgent for me. Plz dont mind. Thanks Manoranjan -- View this message in context: http://activemq.2283324.n4.nabble.com/Failover-problem-tp2537292p2539929.html Sent from the ActiveMQ - User mailing list archive at Nabble.com

Re: multiple ajax clients in the same browser?

2010-09-14 Thread Alex Dean
I submitted an updated patch for https://issues.apache.org/activemq/browse/AMQ-2874 with the change described below. alex On Sep 14, 2010, at 11:03 AM, Alex Dean wrote: Thanks. I will work on this as soon as I can. I submitted a change to the addListener() function in amq.js in https://iss

Performance testing using SSL

2010-09-14 Thread Robillard, Greg L
Has anyone done any performance testing after implementing SSL? If so, have the results been published?

Re: how to save topics and messages in mysql database

2010-09-14 Thread Stan Lewis
Think Gary answered this for you in another thread, but in case you missed it in the activemq_msgs table there's a column that has the destination ID, this is for either topics or queues. On Tue, Sep 14, 2010 at 1:49 PM, pp wrote: > > thanks stan for ur help.. but i want to know where the topics

Re: how to save topics and messages in mysql database

2010-09-14 Thread pp
thanks stan for ur help.. but i want to know where the topics are created in the database . where these are save. because the database only contain three tables. none of the table contai the available topics or created topics. -- View this message in context: http://activemq.2283324.n4.nabble.co

Re: help required regarding mirror queue

2010-09-14 Thread Gary Tully
the message table is shared across all destinations, one of the columns contains the destination id. On 14 September 2010 18:21, pp wrote: > > hiii > > In our project we are using activemq with mysql as external database. we > enabled mirror queue in the activemq.xml file.but still it does not sa

Re: KahaDB - log f

2010-09-14 Thread Gary Tully
You understand correctly, only unreferenced files are reclaimed. Often using smaller journal data files makes cleanup more immediate (as the chance of a slow message being in every data file decreases) but in your case it may makes sense to increase the max data files if you cannot increase the max

Re: how to save topics and messages in mysql database

2010-09-14 Thread Stan Lewis
All of ActiveMQ's messages are stored in that activemq_msgs table, at least when you're sending persistent messages. Create a durable subscription on your topic and send some persistent messages to it, you'll see new entries get added to activemq_msgs. Note that once a message is ack'd it's remov

KahaDB - log f

2010-09-14 Thread nervousbadger
Hi, We have the following scenario: Single broker with ~20 queues. Some queues have extremely high throughput (thousands of messages per second produced and consumed). Other queues have low throughput and messages may remain on these queues for a couple of hours before being consumed. All messag

help required regarding mirror queue

2010-09-14 Thread pp
hiii In our project we are using activemq with mysql as external database. we enabled mirror queue in the activemq.xml file.but still it does not save the messages or topics in the broker. there are only 3 tables namely activemq_acks, activemq_msgs, activemq_lock. is it not working or wher

how to save topics and messages in mysql database

2010-09-14 Thread pp
hi, Do the topics are saved in the activemq database itself or we have to handle it. if it automatically store on the activemq database then where these tables are present. We are using the external database MySql. But it is showing only three tables activemq_acks, activemq_msgs, activ

Re: ActiveMQ in Karaf...

2010-09-14 Thread Kit Plummer
On Sep 14, 2010, at 9:44 AM, kitplummer wrote: > > Just trying to deploy ActiveMQ into Karaf following this guide: > > http://activemq.apache.org/osgi-integration.html > > When I install with 'activemq-blueprint' and then create the broker with > 'activemq:create-broker' I get the expected mes

ActiveMQ in Karaf...

2010-09-14 Thread kitplummer
Just trying to deploy ActiveMQ into Karaf following this guide: http://activemq.apache.org/osgi-integration.html When I install with 'activemq-blueprint' and then create the broker with 'activemq:create-broker' I get the expected message back. But, when I start the localhost-broker.xml (bundle?

RE: Individual acknowledge in pyactivemq

2010-09-14 Thread Timothy Bish
On Tue, 2010-09-14 at 17:00 +0100, Neil Pritchard wrote: > On Tue, 2010-09-14 at 14:17 +0100, Neil Pritchard wrote: > > Hi All, > > > > I'm using pyactivemq as both a producer and consumer of messages which are > > being brokered by ActiveMQ 5.3.2. In the past I used python stompy to > > produc

Re: multiple ajax clients in the same browser?

2010-09-14 Thread Alex Dean
Thanks. I will work on this as soon as I can. I submitted a change to the addListener() function in amq.js in https://issues.apache.org/activemq/browse/AMQ-2874 . I added a 4th argument which allows a user to specify a selector. addListener( 'handlerName', 'topic://test', function(msg){ /*

RE: Individual acknowledge in pyactivemq

2010-09-14 Thread Neil Pritchard
On Tue, 2010-09-14 at 14:17 +0100, Neil Pritchard wrote: > Hi All, > > I'm using pyactivemq as both a producer and consumer of messages which are > being brokered by ActiveMQ 5.3.2. In the past I used python stompy to > produce messages and java ActiveMQ to consume them. I need to set a prefet

FIFO order - just not quite

2010-09-14 Thread James Green
Hi, I've been trying to debug an odd sequence problem. I've written a basic test case in PHP using the stomp connector. First script adds ten numbered messages (indexed from 0) to a test queue. Second script receives from the queue and spits them out. They arrive in the order: 1, 2, 3, 4, 5, 6,

Re: Individual acknowledge in pyactivemq

2010-09-14 Thread Timothy Bish
On Tue, 2010-09-14 at 14:17 +0100, Neil Pritchard wrote: > Hi All, > > I'm using pyactivemq as both a producer and consumer of messages which are > being brokered by ActiveMQ 5.3.2. In the past I used python stompy to > produce messages and java ActiveMQ to consume them. I need to set a prefet

Individual acknowledge in pyactivemq

2010-09-14 Thread Neil Pritchard
Hi All, I'm using pyactivemq as both a producer and consumer of messages which are being brokered by ActiveMQ 5.3.2. In the past I used python stompy to produce messages and java ActiveMQ to consume them. I need to set a prefetch policy of 1 messgae at a time and more importantly use individu

Re: ActiveMQ - sending async persistent messages, what is the maximum that can be lost?

2010-09-14 Thread Gary Tully
yea, google tcp buffer size to get some more info, the defaults are OS specific. Also note the failover: transport compensation of potential message loss. On 14 September 2010 12:16, nervousbadger wrote: > > Thanks for that Gary, that was very helpful. > > One more silly question (I don't know ve

Re: ActiveMQ - sending async persistent messages, what is the maximum that can be lost?

2010-09-14 Thread nervousbadger
Thanks for that Gary, that was very helpful. One more silly question (I don't know very much about networking): does this mean that if we know the minimum size of our messages and the size of the tcp write buffer, it would just be a matter of dividing the buffer size by the minimum message size

Re: Declaring a selector via JNDI?

2010-09-14 Thread Gary Tully
you need to pass the selector into the call to createConsumer. Have a look at the activemq virtual destinations or filtered queue feature, this will allow you you to configure named queues that match a selector, all in configuration. You clients just need to pick the corresponding destination name

Re: HTTP REST Number of consumers keep going up?

2010-09-14 Thread Dejan Bosanac
Hi Bob, there's no such option at the moment. This the best solution for your test case would be to use the same clientId on all machines and use prefetchSize of 1 as explained here http://activemq.apache.org/rest.html#REST-Consuming I'll see to put some love in the REST API in the coming days.

Re: Upgrade from 5.3.2 to 5.4

2010-09-14 Thread Gary Tully
note that the xml configuration is validated against the schema in 5.4 and order of the elements in the broker sequence is important. check the order if you get xml parse errors after the upgrade if you reuse your config. On 14 September 2010 01:26, kseelam wrote: > > Hi > > We are using 5.3.2 a

Re: ActiveMQ - sending async persistent messages, what is the maximum that can be lost?

2010-09-14 Thread Gary Tully
It is not possible to put an exact number on that as it depends. It would be limited by the tcp write buffer in the worst case scenario so will depend on the message size. Imagine, the broker is loaded so cannot read fast enough, the client writes as fast as it can till it blocks on a socket write,

Re: Dead letter queue not being created

2010-09-14 Thread Gary Tully
note, the issue you raised has been resolved for 5.4 and there is a workaround identified in the jira. On 14 September 2010 01:28, kseelam wrote: > > Any help? Thanks! > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/Dead-letter-queue-not-being-created-tp2363341p25382

Re: ActiveMQ - sending async persistent messages, what is the maximum that can be lost?

2010-09-14 Thread nervousbadger
We are using the "jms.useAsyncSend=true" option on the connection factory to force persistent messages to be sent asynchronously. This means our client does not wait for an acknowledgement from the server after sending a message. Our clients are on a different host from the JMS server. Async send

Re: Remove consumer from broker if socket is closed due to write timeout

2010-09-14 Thread Dejan Bosanac
Can you try using keepAlive option and see if that helps? Cheers -- Dejan Bosanac - http://twitter.com/dejanb Open Source Integration - http://fusesource.com/ ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net On Mon, Sep 13, 2010 at 8:06 PM, jflygare wrote: >