Re: Shut down an embedded broker defined in Spring context

2008-11-05 Thread hanson2010
Thanks Gary. After turning on log output, I found that ActiveMQ's shutdown hook was enabled by default. So it can close itself down whenever the host application simply exited. No worry for now. :) Gary Tully wrote: > > add an id attribute to the amq:broker bean and get a handle on the > bean

Consumer Listener stop receving message until ActiveMQ restart

2008-11-05 Thread Edward Ye
Hi,All. I am facing a simliar problem like this thread(http://www.nabble.com/Pending-Messages-are-shown-in-ActiveMQ-to20241332.html) but in a different environment. My PC: ActiveMQ 5.1.0 Java SE 6 Update 10 Windows 2003 SP2 client api: activemq-cpp-2.2.1 Development tool: Visual Studio 2005 I h

Async error occurred: java.lang.IllegalArgumentException: The subscription does not exist

2008-11-05 Thread Edward Ye
Hi,all. I have a simple test with ActiveMQ 5.1.0 and activemq-cpp-2.2.1 run on Windows 2003 . The producer sends persistent messages into a queue and it works fine , Except that sometimes Asyc error occurs after several thousands messages sent. The following error shown on the console: 2008-11-05

Re: Dynamic Security Configuration of users and roles

2008-11-05 Thread Joe Fernandez
There's both authentication and authorization to take into account. If you want to take your direct programmatic approach via JMX, consider creating security plug-ins through which you can both authenticate and authorize. Maybe use the existing security plug-ins as models. Extend AuthorizationBrok

Problem with Eclipse's runnable jar bundling Spring & ActiveMQ jar files

2008-11-05 Thread hugberry
I doubt it is a problem with ActiveMQ, but I just like to bring it up. I have a demo eclipse/springide project for ActiveMQ. The demo works fine in Eclipse, but when I export it to a Runnable jar (a feature of eclipse 3.4), I notice that I will need to specify proxy host and port because it is

Dynamic Security Configuration of users and roles

2008-11-05 Thread gfrank
hopefully someone can give advice on this, my project requires dynamic creation of topics, users and roles such that a given topic can only be accessed by one user and that user can only access that one topic. this must be done in a programmatic fashion without bouncing the activemq server a a us

Re: Configuring ActiveMQ in OSGi containers

2008-11-05 Thread huntc
Dejan Bosanac-3 wrote: > > I've played a bit with servicemix kernel and activemq these days and > found servicemix.activemq bundle that does what you need (with some > restrictions) - https://issues.apache.org/activemq/browse/SM-1065. > > > > Hi Dejan, Thank you for your detailed reply. M

Re: Searching for a string in messages of queues

2008-11-05 Thread James Strachan
2008/11/5 pablomano <[EMAIL PROTECTED]>: > > Is it possible to search for a string in the body of messages of a queue? I > send a message to the queue and the message contains certain data in the > body. At certain times I would like to find out whether the queue contains > messages which contain t

Searching for a string in messages of queues

2008-11-05 Thread pablomano
Is it possible to search for a string in the body of messages of a queue? I send a message to the queue and the message contains certain data in the body. At certain times I would like to find out whether the queue contains messages which contain that certain data. Thank you! Paul -- View this

Re: Some temporary queues are not getting deleted

2008-11-05 Thread martinhasl
I have now found the problem/solution. I was synchronizing only at the creation of producers/temp-queues and not at the deletion of them. Synchronization of both cases solved the problem. Although I don't know if this behaviour is intentioned or not so I didn't create a jira issue for this. greet

Re: Migrating from OpenJMS to ActiveMQ

2008-11-05 Thread James Strachan
2008/11/5 vanisathish <[EMAIL PROTECTED]>: > > Hi, > > I am currently running Open JMS with Tomcat-5.5. And i see a performance > problem with the OpenJMS. It is crashing throwing Interrupted exception. > > I intend to migrate to ActiveMQ. Is is simple replacement.. Yes > Or is there > anything

Re: Some temporary queues are not getting deleted

2008-11-05 Thread Gary Tully
with a call to delete they should be removed, otherwise they are removed when the connection is closed. Best thing to do is to produce a test case against trunk and open a jira issue. There is a existing test for temp queue deletion that could provide a working template for you: http://svn.apache.o

Some temporary queues are not getting deleted

2008-11-05 Thread martinhasl
Hi, I've got the problem that some temporary queues are not getting deleted. Actually I am deleting them manually by ((TemporaryQueue) tempDest).delete(); as soon as they are not used anymore (and this deletion is really called for all my temp-queues as far as I can see) but some of my temporary

Re: Configuring ActiveMQ in OSGi containers

2008-11-05 Thread Dejan Bosanac
Hi, I've played a bit with servicemix kernel and activemq these days and found servicemix.activemq bundle that does what you need (with some restrictions) - https://issues.apache.org/activemq/browse/SM-1065. To make it run, first you need to install the following dependencies osgi install -s mvn

Re: Configuring ActiveMQ in OSGi containers

2008-11-05 Thread huntc
James.Strachan wrote: > > I'd recommend using Spring Dynamic Modules, then drop the > conf/activemq.xml into META-INF/spring/activemq.xml and it should boot > up OK. I've not tried this yet mind you - let us know how you get on > :) > Thank you James. I shall attempt to give this a go and repo

Migrating from OpenJMS to ActiveMQ

2008-11-05 Thread vanisathish
Hi, I am currently running Open JMS with Tomcat-5.5. And i see a performance problem with the OpenJMS. It is crashing throwing Interrupted exception. I intend to migrate to ActiveMQ. Is is simple replacement..Or is there anything i need to consider? Thanks, -- View this message in context:

Re: Configuring ActiveMQ in OSGi containers

2008-11-05 Thread James Strachan
2008/11/3 huntc <[EMAIL PROTECTED]>: > Hi there, > > I read around a bit and discovered that some of ActiveMQ's jars come OSGi > ready. I then managed to successfully deploy activemq-all-5.1.0.jar using > the OSGi based springsource-dm-server. activemq-all-5.1.0.jar comes as part > of the regular A