Re: A question about the queue.

2008-07-16 Thread Bruce Snyder
On Wed, Jul 9, 2008 at 8:46 PM, yanhongsan <[EMAIL PROTECTED]> wrote: > > To Bruce : > Your method is to start the broker with programmatic configuration for > ActiveMQ. Are there methods to add networkconnectors with program after > start ActiveMQ with activemq.bat ? AFAIK, the only way that

Re: A question about the queue.

2008-07-09 Thread yanhongsan
To Bruce : Your method is to start the broker with programmatic configuration for ActiveMQ. Are there methods to add networkconnectors with program after start ActiveMQ with activemq.bat ? yanhongsan -- View this message in context: http://www.nabble.com/A-question-about-the-queue.-tp18

Re: A question about the queue.

2008-07-09 Thread yanhongsan
Thank you Bruce! You are extraordinary.I am interested in activemq.It is powerful.So I did not familiar with it .When I have questions,May I ask you for some advice? -- View this message in context: http://www.nabble.com/A-question-about-the-queue.-tp18312044p18356797.html Sent from the Active

Re: A question about the queue.

2008-07-08 Thread Bruce Snyder
On Tue, Jul 8, 2008 at 7:45 PM, yanhongsan <[EMAIL PROTECTED]> wrote: > Thank you brian! I am very happy to communicate with you! Do you known the > broker clustering by program not with the xml file? Attached is an example of programmatic configuration for ActiveMQ that I was just doing the oth

Re: A question about the queue.

2008-07-08 Thread yanhongsan
Brian Munroe-2 wrote: > > > Ok, just wanted to clarify. Sorry, this is getting a bit beyond my > expertise, but yes, I agree with you, the issue you describe does > sound like a bug. Try searching JIRA? > > sorry! > > -- brian > > Thank you brian! I am very happy to communicate with you

Re: A question about the queue.

2008-07-08 Thread Brian Munroe
On Tue, Jul 8, 2008 at 12:12 AM, yanhongsan <[EMAIL PROTECTED]> wrote: > > Yes, I am not referring to the predefined queue. I see the queue--Example.A. > The question is another queue I created with JMX. The code is: > Ok, just wanted to clarify. Sorry, this is getting a bit beyond my expertise,

Re: A question about the queue.

2008-07-08 Thread yanhongsan
Brian Munroe-2 wrote: > > > In the stock install of AMQ, it predefines a queue and topic. You > aren't referring to these, right? > > Yes, I am not referring to the predefined queue. I see the queue--Example.A. The question is another queue I created with JMX. The code is: public void

Re: A question about the queue.

2008-07-07 Thread Brian Munroe
On Mon, Jul 7, 2008 at 7:21 PM, yanhongsan <[EMAIL PROTECTED]> wrote: > You mean that I can not create an empty queue programmatically without the > activemq.xml? Or JMX. That is the way I read it. > I try the JMX,not only the addQueue() but also the removeQueue() , > the question is that when

Re: A question about the queue.

2008-07-07 Thread yanhongsan
Brian Munroe-2 wrote: > > > Unless you are willing to send at least one message to the queue(s) > you wish to create programmatically, your only options are either to > use JMX or define them in activemq.xml. > > See this for more info (note the info in the blue box): > http://activemq.apache

Re: A question about the queue.

2008-07-07 Thread Brian Munroe
On Mon, Jul 7, 2008 at 5:37 PM, yanhongsan <[EMAIL PROTECTED]> wrote: > > I have said the question with JMX to create an empty queue at the top. I want > to create the empty queue with program (the java code),not with the > config.xml? Do you known how to do that? Unless you are willing to send a

Re: A question about the queue.

2008-07-07 Thread yanhongsan
I have said the question with JMX to create an empty queue at the top. I want to create the empty queue with program (the java code),not with the config.xml? Do you known how to do that? -- View this message in context: http://www.nabble.com/A-question-about-the-queue.-tp18312044p18329745.html S

Re: A question about the queue.

2008-07-07 Thread Brian Munroe
On Mon, Jul 7, 2008 at 6:13 AM, yanhongsan <[EMAIL PROTECTED]> wrote: > If I want to create an empty queue, what can I do ? Also, you did see that part (it was a hyperlink in the doc to the URL mentioned previously) that allowed you to create queues and topics at startup by defining them in the a

Re: A question about the queue.

2008-07-07 Thread Rob Davies
use JMX On 7 Jul 2008, at 14:13, yanhongsan wrote: If I want to create an empty queue, what can I do ? -- View this message in context: http://www.nabble.com/A-question-about-the-queue.-tp18312044p18316363.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: A question about the queue.

2008-07-07 Thread yanhongsan
If I want to create an empty queue, what can I do ? -- View this message in context: http://www.nabble.com/A-question-about-the-queue.-tp18312044p18316363.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: A question about the queue.

2008-07-07 Thread Jonas Lim
Hi, Destinations in activemq are created dynamically so my guess here is unless we're creating a durable queue i don't think we need to persist it. I've not really checked but I believe the Jmx addQueue operation creates a non-durable queue by default. http://activemq.apache.org/how-do-i