Re: Multicast Discovery not working

2009-01-07 Thread BigPic
Note, I can't get rendezvous to work either. String brokerUrl = "discovery:(rendezvous://test)?maxReconnectAttempts=2"; ActiveMQConnectionFactory connectionFactory = new ActiveMQConnectionFactory(brokerUrl); However in this case I can at least see (usi

Multicast Discovery not working

2009-01-07 Thread BigPic
I'm using ActiveMQ 5.2.0 but I can't get clients to discover the broker. My goal is to run a single broker with multiple clients all auto-discovering it. I have the broker config: and the broker is running on a Win2K system. Then on another system (Win XP

Distributed Queue in Store/Forward bug?

2009-01-07 Thread wangchao
There's a problem when I tried to implement a Distributed Queue in Store/Forward ,and the system environment is Windows XP SP2,JDK 1.5.0.12,ActiveMQ 5.2.0 with basic configuration The operations I did as following: 1.Start up the Local Broker L 2.Start up a Local Producer L.P on queue "TEST.Queue"

Repeated info message

2009-01-07 Thread Simon Lin
Hi, I'm repeatedly seeing the following log message in the log file. It appears every a few minutes. Jan 7, 2009 4:40:56 PM org.apache.activemq.transport.failover.FailoverTransport doReconnect INFO: Successfully connected to tcp://st-orca-mq1.st.bigfishgames.com:61616 Anybody knows why? Thank

5.2, Problems Deleting a Queue

2009-01-07 Thread MaenXe
I have a couple of Queues that I am unable to completely get rid of. If I delete the Queue either from JMX(using removeQueue) or from the Web Console the Queue will reappear after I restart the Broker. Also, we have Security implemented to block the lazy creation of Queues. This Queue was creat

Re: Embedded broker is always empty (no messages) each time it's started?

2009-01-07 Thread David Jencks
On Jan 7, 2009, at 12:20 PM, James Adams wrote: When I start an embedded ActiveMQ broker it is a fresh/clean/empty queue, right? I haven't used the embedded broker much but I think this is wrong. AFAIK unless you configure a broker to use the MemoryPersistenceAdapter it will use some

Re: Embedded broker is always empty (no messages) each time it's started?

2009-01-07 Thread Gary Tully
An embedded broker is no different from an non embedded broker. By default it will use a message store for any persistent messages. If you want a broker to always start with an empty store there is a deleteAllMessagesOnStartup attribute on BrokerService that will clear out the store for you. Altern

Re: BrokerService.isSlave() for pure master/slave only?

2009-01-07 Thread Gary Tully
If you cast the value of brokerService.getPersistenceAdapter to the JDBCPersistenceAdapter you should be able to access the database locker[1] I suspect that the keepAlive() method will return false while still a slave. It is worth a try. This is the area you need to look at though. Gary. [1]

BrokerService.isSlave() for pure master/slave only?

2009-01-07 Thread Ryan Stewart
I'm trying to find a way to tell whether a broker is master or not on version 5.1. I know that 5.2 has the advisory topic for when a broker becomes master, but I can't use that just now. I do have access to the BrokerService, though, which has the isSlave() method; however I'm using JDBC master/sl

Embedded broker is always empty (no messages) each time it's started?

2009-01-07 Thread James Adams
When I start an embedded ActiveMQ broker it is a fresh/clean/empty queue, right? My understanding was that there is no possibility of messages building up from previous test runs or other message senders adding messages to a queue which will be present the next time the embedded ActiveMQ broker c

Re: Nightly builds?

2009-01-07 Thread James Strachan
2009/1/7 James Strachan : > 2009/1/7 mkeenan : >> >> I have a few questions about the current ActiveMQ release: >> >> 1) I see a few links on this forum and on the ActiveMQ website that refer to >> the 5.3.0 Snapshot, but none of them pointed to any downloadable files. Is >> there any packaged vers

Re: Nightly builds?

2009-01-07 Thread James Strachan
2009/1/7 mkeenan : > > I have a few questions about the current ActiveMQ release: > > 1) I see a few links on this forum and on the ActiveMQ website that refer to > the 5.3.0 Snapshot, but none of them pointed to any downloadable files. Is > there any packaged version of 5.3.0 or is the only way to

Nightly builds?

2009-01-07 Thread mkeenan
I have a few questions about the current ActiveMQ release: 1) I see a few links on this forum and on the ActiveMQ website that refer to the 5.3.0 Snapshot, but none of them pointed to any downloadable files. Is there any packaged version of 5.3.0 or is the only way to get it to pull from the sour

Re: STOMP over SSL (stomp+ssl protocol)

2009-01-07 Thread Bruce Snyder
On Wed, Jan 7, 2009 at 7:11 AM, mjustin wrote: > > Are there plans to support SSL connections for the STOMP protocol? I searched > this mailing list and it looks like there is nothing in the pipeline yet. Enabling clients to connect to ActiveMQ via stomp+ssl is possible as shown here: http://act

Re: ActiveMQ - can it do tasks

2009-01-07 Thread James Strachan
2009/1/7 agatone : > > Ok, so I'll have to code durable consumers for every language i'll use and > foreach topic , and it will be invkoing things. Its normally just a couple of lines of code to write a consumer > That kinda sounds lots of code with those 1000 :| If you are averse to writing c

STOMP over SSL (stomp+ssl protocol)

2009-01-07 Thread mjustin
Are there plans to support SSL connections for the STOMP protocol? I searched this mailing list and it looks like there is nothing in the pipeline yet. Best Regards Michael Justin -- View this message in context: http://www.nabble.com/STOMP-over-SSL-%28stomp%2Bssl-protocol%29-tp21332050p2133205

Shutdown script not working as JMX authentication set up

2009-01-07 Thread Richie84
Hi All, This is my first post on this forum so apologies if the details of my query are vague in anyway. The problem I am having is creating a shutdown script for activemq, when JMX is set up to use authentication through the jmx.access and jmx.password files. When trying to execute the script

Re: ActiveMQ - can it do tasks

2009-01-07 Thread agatone
Ok, so I'll have to code durable consumers for every language i'll use and foreach topic , and it will be invkoing things. That kinda sounds lots of code with those 1000 :| James.Strachan wrote: > > 2009/1/7 agatone : > > > So you'd write programs in some language (C#, Java, PHP) which con

Re: ActiveMQ - can it do tasks

2009-01-07 Thread James Strachan
2009/1/7 agatone : > > Hello, > > As I'm from non-Java world trying to get into this Java stuff it's quite > hard to understand all JAVA stuff concepts. B/c of that I have problems > understanding ActiveMQ manual (mostly i don't know how to define search > terms that would get me something useful)

ActiveMQ - can it do tasks

2009-01-07 Thread agatone
Hello, As I'm from non-Java world trying to get into this Java stuff it's quite hard to understand all JAVA stuff concepts. B/c of that I have problems understanding ActiveMQ manual (mostly i don't know how to define search terms that would get me something useful) so I decided to ask here. Basi

Re: Deployment best practices

2009-01-07 Thread James Strachan
2009/1/7 nitingupta183 : > > Hi all, > > I am new to JMS and Messaging middle ware technologies. I need help in > following areas to be able to design a system in which I need to use a > messaging middle ware: > > 1) What are the best practices of deploying a JMS broker like ActiveMQ. Can > it be

get Broker from ActiveMQConnectionFactory?

2009-01-07 Thread silver1
Hi, I have a standalone ActiveMQ-Broker (started with activemq.bat). In my code i use following: ActiveMQConnectionFactory cf = new ActiveMQConnectionFactory(prop.getProperty("TCP")); ActiveMQConnectionconnection = (ActiveMQConnection)cf.createConnection(); ActiveMQConnection connect