Re: ActiveMQ, SSL and NIO

2010-08-26 Thread Mats Henrikson
On 10 August 2010 03:20, Martin C. wrote: > As the SSL-transport is based on the TCP-transport, it > seems that any connection is using its own thread. Is there any way to get > SSL via NIO and using a worker thread for handling the connections? I also would very much like to be able to turn my S

Re: durable subscription problems

2010-08-26 Thread Joe Niski
Systematic trial-and-error in configuring the networkConnector lead us to a solution on this. either of the following configurations work flawlessly: The element in the configuration we inherited prevented durable subscriptions from getting established altogether. Setting dyn

ActiveMQ connection time out IPV6 address

2010-08-26 Thread jns
Problem:- ActiveMQ is installed on a linux machine which can be reachable by ping6. When broker URL is given as hostname, the messages are consumed. However, as soon as I specify broker URL in IPV6 format, I get connection timeout error. Broker URL:- tcp://[fe80::XXX:::]:61616?wireFor

Re: JMS-to-JMS bridge restarts required

2010-08-26 Thread TreyH
Of course, missing the important info. I'm using ActiveMQ 5.3.1, JDK 6, FreeBSD 8 TreyH wrote: > > About once a day my JMS-to-JMS bridge stops and requires a restart of > ActiveMQ to get it to resume. I don't get anything bridge related showing > up in my data/activemq.log > > This is a sin

JMS-to-JMS bridge restarts required

2010-08-26 Thread TreyH
About once a day my JMS-to-JMS bridge stops and requires a restart of ActiveMQ to get it to resume. I don't get anything bridge related showing up in my data/activemq.log This is a single queue ActiveMQ -> OpenMQ bridge. The code for my connection factory wrapper around OpenMQ and the general c

Re: default file store location

2010-08-26 Thread fachhoch
I tried reading that, I did not get it , also there are no examples , I tried this ended up with exception Caused by: javax.jms.JMSException: Could not create Transport. Reason: java.lang.IllegalArgumentException: Invalid connect parameters: {properties=

Re: How can I create a "compact" distribution of ActiveMQ

2010-08-26 Thread mjustin
Hi Dejan, Many thanks for the answer! Here is my working example pom.xml, which uses the current 5.5 snapshot: > > http://maven.apache.org/POM/4.0.0"; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 > http://maven.apache.org/

Re: default file store location

2010-08-26 Thread Gary Tully
yes, please have a read of http://activemq.apache.org/broker-properties-uri.html On 26 August 2010 16:01, fachhoch wrote: > > is it possible to do with a property file? as we have to deploy in different > servers and each server will have its  own location  , please suggest me . > > Gary Tully wr

Re: default file store location

2010-08-26 Thread fachhoch
is it possible to do with a property file? as we have to deploy in different servers and each server will have its own location , please suggest me . Gary Tully wrote: > > "vm://localhost?broker.dataDirectory=SomeDirectory" should do it. > see: http://activemq.apache.org/broker-configuration-u

ANN: JMSLogAppender for ActiveMQ and the Delphi Logging Framework Log4D

2010-08-26 Thread mjustin
Habarisoft today released a JMS log appender which can be used in Log4D to send log messages from a Delphi 6 to 2010 application to an Apache ActiveMQ message broker. More information and configuration examples can be found at http://mikejustin.wordpress.com/2010/08/26/ The Habari JMS log append

Re: default file store location

2010-08-26 Thread Gary Tully
"vm://localhost?broker.dataDirectory=SomeDirectory" should do it. see: http://activemq.apache.org/broker-configuration-uri.html for some more detail and alternatives On 26 August 2010 15:27, fachhoch wrote: > > > Please suggest me how can I specify   value for property "activemq-data" > > > rajda

specify data dir for property activemq-data

2010-08-26 Thread fachhoch
Please suggest me where can I specify value for property "activemq-data" in configration. here is my configration of my jms

Re: default file store location

2010-08-26 Thread fachhoch
Please suggest me how can I specify value for property "activemq-data" rajdavies wrote: > > In the current working directory of your application - under a directory > called activemq-data > > cheers, > > Rob > > Rob Davies > follow me: http://twitter.com/rajdavies > I work here: http://

Re: How to programmatically configure JDBC Persistence.

2010-08-26 Thread Gary Tully
Have a look at this example from the tests (there are a few more in the same directory): http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/store/jdbc/JDBCPersistenceAdapterTest.java?view=markup On 26 August 2010 14:07, Navin Naidu wrote: > Hi, > > How can

How to programmatically configure JDBC Persistence.

2010-08-26 Thread Navin Naidu
Hi, How can I programmatically configure for jdbc persistence with apache derby. Is this the right way to configure ? Snippet: ** BrokerService broker = *new* BrokerService(); JDBCPersisten

Re: How to disable advisory for --> topic://ActiveMQ.Advisory.TempQueue ?

2010-08-26 Thread Gary Tully
Easy way to configure, in the brokerURL or connection string for a connection factory use the query parameter: jms.watchTopicAdvisories=false On 26 August 2010 13:57, Gary Tully wrote: > There is an option on the AMQConnection/AMQConnectionFactory, > watchTopicAdvisories, set that to false. > >

Re: How to disable advisory for --> topic://ActiveMQ.Advisory.TempQueue ?

2010-08-26 Thread Gary Tully
There is an option on the AMQConnection/AMQConnectionFactory, watchTopicAdvisories, set that to false. On 26 August 2010 13:29, cmoulliard wrote: > > Hi, > > In jconsole, I see that we have advisory topics for TempQueue created for > subscription (topic://ActiveMQ.Advisory.TempQueue) even if we h

How to disable advisory for --> topic://ActiveMQ.Advisory.TempQueue ?

2010-08-26 Thread cmoulliard
Hi, In jconsole, I see that we have advisory topics for TempQueue created for subscription (topic://ActiveMQ.Advisory.TempQueue) even if we have added the option advisorySupport="false" in the broker definition. Is it possible to disable them ? Regards, Charles M. - Charles Moulliard SOA A

Re: ActiveMQ vs. Camel vs. Qpid

2010-08-26 Thread James Strachan
On 26 August 2010 11:53, heapifyman wrote: > Hello, > > I am quite new to the whole messaging thing and I am a bit confused about > the differences between ActiveMQ, Camel and Qpid. Especially, which tool > would be suited best for which scenarios? To specifically answer this part of your questio

Re: ActiveMQ vs. Camel vs. Qpid

2010-08-26 Thread James Strachan
On 26 August 2010 11:53, heapifyman wrote: > Hello, > > I am quite new to the whole messaging thing and I am a bit confused about > the differences between ActiveMQ, Camel and Qpid. Especially, which tool > would be suited best for which scenarios? So ActiveMQ and Qpid are both message brokers. A

ActiveMQ vs. Camel vs. Qpid

2010-08-26 Thread heapifyman
Hello, I am quite new to the whole messaging thing and I am a bit confused about the differences between ActiveMQ, Camel and Qpid. Especially, which tool would be suited best for which scenarios? I'd appreciate if anyone could point me at some documentation or examples that cover and differentia

Re: How to find JMSXUserID in web console

2010-08-26 Thread Markus Schaber
Hi, Martin C. wrote: > > On Tue, Aug 24, 2010 at 8:35 AM, Markus Schaber wrote: > >> But I cannot find a way to show those properties in the web console. Is >> this >> a configuration issue? > > As far as I remember looking into the code in one of the 3.1.x > versions, the JMSXUserID is not

Re: Specifying prefetch topic sizes in configuration files

2010-08-26 Thread gng
Thanks. In the end all I needed to do apparently was to add the "topicPrefetch" attribute as follows :- I assume this would do the job. Is there any way in activeMQ's admin interface where I can check to see that the new topic preFetch size being applied and that the default is still not being