Destination destination = session.createQueue(name);

2010-09-22 Thread pp
Hi, plz tell me what this line do. -- View this message in context: http://activemq.2283324.n4.nabble.com/Destination-destination-session-createQueue-name-tp2551491p2551491.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Message selectors and scheduled messages ?

2010-09-22 Thread Thomas Dudziak
Hi, is there a way to select delayed/scheduled messages with a selector, e.g. for custom properties ? cheers, Tom

RE: configuring plugins with activemq 5.4.1

2010-09-22 Thread Allen Reese
The problem is plugins as an attribute of broker seems to be removed in the 5.4.1 xsd. I want to configure the plugin once outside of the brokers, the reason is, I use an , and want to allow other people to reuse the plugin configuration without having to have it as part of their broker defini

Re: [ANNOUNCE] Apache ActiveMQ 5.4.1 Release

2010-09-22 Thread Roger Hoover
Can the scheduled message feature be used with STOMP? Thanks, Roger On Wed, Sep 22, 2010 at 4:41 AM, Hadrian Zbarcea wrote: > The Apache ActiveMQ project [1] officially released the 5.4.1 maintenance > release [2] a couple of months after the previous 5.4.0 release. We are > extremely grateful

Re: configuring plugins with activemq 5.4.1

2010-09-22 Thread Stan Lewis
Should be able to do something like: http://www.springframework.org/schema/beans"; id="myPlugin" class="com.yahoo.MyPlugin">                        false         for this, there's some other examples here: http://activemq.apache.org/developing-plugins.html#DevelopingPlugins-Configuringp

configuring plugins with activemq 5.4.1

2010-09-22 Thread Allen Reese
With Activemq 5.3.2, I had this in my activemq.xml: http://www.springframework.org/schema/beans"; xmlns:amq="http://activemq.apache.org/schema/core"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation=" http://activemq.apache.org/schema/core

Re: ajax clients must refresh browser to get data

2010-09-22 Thread Alex Dean
Change logging levels and discovered a bit more about the problem. 1. start broker & start a publisher script 2. view ajax page in browser. receiving messages normally 3. shut down broker 4. close browser window 5. start broker 6. start publisher 7. view page again in browser This is what

ajax clients must refresh browser to get data

2010-09-22 Thread Alex Dean
I am trying to track down a problem we see when using activemq+ajax. Sometimes when a web page (which uses amq.js) is first loaded, the amq.js POST & GET requests will be made as normal, but no data is returned even though there are messages being published to the desired topic. Each GET just

How to delete scheduled messages ?

2010-09-22 Thread Thomas Dudziak
I was wondering, how can delayed and scheduled messages be deleted ? I didn't see anything obvious in the activemq implementations for Session/Queue/MessageConsumer and friends. I know that there is a way to do this via JMX (QueueView mbean), but I was hoping there is an easier way to do this, mayb

Re: getting started with activemq development

2010-09-22 Thread Alex Dean
I have been able to run tests for activemq-core via maven. Thanks. I'm looking for tests in activemq-web, and not finding any. Are there no tests for AjaxServlet, MessageListenerServlet, etc? I suspect maybe I'm looking in the wrong place. alex On Sep 22, 2010, at 11:44 AM, Dejan Bosanac w

Re: how to create queue or topic at run time

2010-09-22 Thread Bruce Snyder
On Wed, Sep 22, 2010 at 6:18 AM, pp wrote: > > Hi > > i m trying to create topic or queue at run time but it is giving a null > pointer exception. can anyone give me a sample code for it. Destination creation uses the session object like so: // Create the connection ActiveMQConnectionFactory con

Re: getting started with activemq development

2010-09-22 Thread Dejan Bosanac
Hi Alex, the best thing for starters is to check some unit tests and get familiar with them. We're doing all the development based on those, there you can easily start/stop broker(s), send/consume messages. You can run them both from Eclipse (IDE) and using maven, like $ cd activemq-core $ mvn -

getting started with activemq development

2010-09-22 Thread Alex Dean
I've not done much Java development, and definitely not on a codebase of the size of ActiveMQ. I'm finding it a little difficult to get started, and I could use some help. I wrote previously about some problems I've had getting Eclipse set up, but even once I've sorted that out I'm not sure wh

need help configuring eclipse

2010-09-22 Thread Alex Dean
I've done the following: - svn co https://svn.apache.org/repos/asf/activemq/trunk activemq-trunk - run 'mvn eclipse:eclipse' in the activemq-trunk working copy - In Eclipse, define M2_REPO as /Users/alex/.m2/repository - Add new Eclipse project 'from existing sources', using the svn working cop

how to create queue or topic at run time

2010-09-22 Thread pp
Hi i m trying to create topic or queue at run time but it is giving a null pointer exception. can anyone give me a sample code for it. -- View this message in context: http://activemq.2283324.n4.nabble.com/how-to-create-queue-or-topic-at-run-time-tp2550168p2550168.html Sent from the ActiveMQ -

[ANNOUNCE] Apache ActiveMQ 5.4.1 Release

2010-09-22 Thread Hadrian Zbarcea
The Apache ActiveMQ project [1] officially released the 5.4.1 maintenance release [2] a couple of months after the previous 5.4.0 release. We are extremely grateful to the community for all the contributions. The artifacts are already available in the central maven repo. The 5.4.1 release (see

Re: AMQ-CPP - Advisory messages support

2010-09-22 Thread Timothy Bish
On Wed, 2010-09-22 at 15:18 +0800, Romain CHANU wrote: > Hi, > > I had a look to > http://activemq.apache.org/cms/handling-advisory-messages.html but it does > not tell if AMQ-CPP is able to handle all the messages listed in: > http://activemq.apache.org/advisory-message.html > > Is there any kno

AMQ-CPP - Advisory messages support

2010-09-22 Thread Romain CHANU
Hi, I had a look to http://activemq.apache.org/cms/handling-advisory-messages.html but it does not tell if AMQ-CPP is able to handle all the messages listed in: http://activemq.apache.org/advisory-message.html Is there any known limitation? Thank you. Regards, Romain