Re: Restarting ActiveMq removes/cleans all persisted messages/queues/topics

2011-08-15 Thread pol_ice
Guys, any luck with my issue? -- View this message in context: http://activemq.2283324.n4.nabble.com/Restarting-ActiveMq-removes-cleans-all-persisted-messages-queues-topics-tp3728577p3744961.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Restarting ActiveMq removes/cleans all persisted messages/queues/topics

2011-08-12 Thread pol_ice
Hi folks, Did I provide enough information in the above post? Please ask if anything else is needed. This issue is quite weird and we need to resolve it rather sooner than latter. -- View this message in context: http://activemq.2283324.n4.nabble.com/Restarting-ActiveMq-removes-cleans-all-persi

Re: Monitoring when there are no consumers for a destination

2011-08-11 Thread pol_ice
You could use ActiveMQ.Advisory.Consumer.Queue and monitor when consumers are starting or stopping. -- View this message in context: http://activemq.2283324.n4.nabble.com/Monitoring-when-there-are-no-consumers-for-a-destination-tp3737287p3737494.html Sent from the ActiveMQ - User mailing list arc

Re: Restarting ActiveMq removes/cleans all persisted messages/queues/topics

2011-08-11 Thread pol_ice
Gary, I installed apache derby and tried running activemq with it. The result is similar. All queues/topics messages are gone when restarting the service. I pulled together a word file with screenshots, logs and codes to better illustrate the problem. Please let me know what you think about it.

Re: Restarting ActiveMq removes/cleans all persisted messages/queues/topics

2011-08-11 Thread pol_ice
Thanks Gary, However it doesn't seem to be so. Running exactly the same setup and code with kahaDb as persistence adapter results in a proper behaviour. But when changing only persistenceAdapter setting to use jdbc with mssql - no messages/queue survive the service restart. Could the consumers' c

Re: Restarting ActiveMq removes/cleans all persisted messages/queues/topics

2011-08-10 Thread pol_ice
Hi there, I have tried to use another datasource for mssql driver: Bu

Re: Restarting ActiveMq removes/cleans all persisted messages/queues/topics

2011-08-09 Thread pol_ice
I have done more tests. 1) I've restored all conf files to defaults of ActiveMq 5.5.0 out-of-box. Verified the existing code, so that it sends messages to virtual topics and consumer can successfully receive them from the consumers' queues. All messages are sent as persistent. By default KahaDB p

Re: Restarting ActiveMq removes/cleans all persisted messages/queues/topics

2011-08-09 Thread pol_ice
Here it is. Weird thing is that even after I removed expiration attributes from policyEntry for my queues, making it like: There are still messages about expiration: activemq.log 2011-08-09 09:48:48,356 | DEBUG | queue://Consumer.funcTestOne-634484802276816364.Virtu

Re: networks of brokers, queues and selectors

2011-08-09 Thread pol_ice
I believe you can apply wildcards to policyMap feature: http://activemq.apache.org/wildcards.html just specify it in or Is that what you needed? -- View this message in context: http://activemq.2283324.n4.nabble.com/networks-of-brokers-queues-and-selectors-tp3727717p3730447.html Sent from

Re: Restarting ActiveMq removes/cleans all persisted messages/queues/topics

2011-08-09 Thread pol_ice
Sorry, that was something I did to test the kahadb.. instead of mssql persistence. Here is the log of restarting with JDBC persistence: -- INFO | jvm 1| 2011/08/09 09:11:01 | INFO | ActiveMQ Message Broker (localhost, ID:build-cc2-57856-1312905998723-0:1) is shutting down INFO

Re: Restarting ActiveMq removes/cleans all persisted messages/queues/topics

2011-08-09 Thread pol_ice
Hi Gary, Can it be caused by the wrong version of wrapper.dll? All of my machines are 64-bit and it looks like activemq package for Windows only includes 32-bit version of wrapper.dll - is that so? I was reading http://blog.bigrocksoftware.com/2010/10/07/commons-daemon-procrun-as-a-java-service-wr

Restarting ActiveMq removes/cleans all persisted messages/queues/topics

2011-08-08 Thread pol_ice
Hi there, I am experiencing problem with activemq restarting. Whenever it is restarted no messages, queues or topics remain. I an using ms sql server for persistence and I see all messages successfully saved in db, after the activemq service is restarted - number of messaged in db remains to be th

Re: Delete queues created for virtual topic consumers

2011-08-03 Thread pol_ice
I see, is there a way to unsubscribe consumer from virtual topic? So that I can ensure there are no more messages enqueued in its queue? -- View this message in context: http://activemq.2283324.n4.nabble.com/Delete-queues-created-for-virtual-topic-consumers-tp3714004p3716344.html Sent from the Ac

Re: Delete queues created for virtual topic consumers

2011-08-03 Thread pol_ice
One question though, will this setting delete the inactive queues with a number of pending messages? -- View this message in context: http://activemq.2283324.n4.nabble.com/Delete-queues-created-for-virtual-topic-consumers-tp3714004p3715969.html Sent from the ActiveMQ - User mailing list archive a

Re: Delete queues created for virtual topic consumers

2011-08-03 Thread pol_ice
Thanks Gary, I thought it would be a method not a broker setting. However it should work just fine when separating testing and production environments ( we will just need not to forget to reset auto removal settings when setting it up on production. ) -- View this message in context: http://act

Delete queues created for virtual topic consumers

2011-08-02 Thread pol_ice
Hi there, In my functional tests I have to create a unique consumer name for each test to be able to imitate a subscription to the virtual topic and receiving the messages from the queue. Since the same consumer name will not be used any other time and due to a long list of tests I would love to b

Long time persistence service

2011-07-25 Thread pol_ice
Hi there, Let me first describe the way I am planning to use activemq for my service. The service provides API for its clients and guarantees to notify anybody interested in the changes happened to its data. For example if new user is created, every API user should be able to be notified about it