Re: sync between two independent brokers

2011-05-10 Thread Christoph Burmeister
Hi Johan, thanks for fast reply. I've never heard of this repo before nor have read about this in the InAction-Book, but it sounds straight enough to give that a try. Do you have any personal experiences with that or documentation (except camel-website) ? best, christoph 2011/5/10 Johan Edstr

how to start jetty.xml with out restart activemq broker.

2011-05-10 Thread mahens
in activemq.xml commented loading jetty.xml, then i started the broker. Now i want to import jetty.xml with out restart broker. is it possible ? -- View this message in context: http://activemq.2283324.n4.nabble.com/how-to-start-jetty-xml-with-out-restart-activemq-broker-tp3513903p3513903.html

reload activemq.xml cofiguration without restart activemq broker service

2011-05-10 Thread mahens
can i reload activemq.xml cofiguration without restart activemq broker service ? -- View this message in context: http://activemq.2283324.n4.nabble.com/reload-activemq-xml-cofiguration-without-restart-activemq-broker-service-tp3513848p3513848.html Sent from the ActiveMQ - User mailing list archiv

Re: Slave of ActiveMQ Cluster does not dequeue messages

2011-05-10 Thread danieldestro
Just tested the cluster mode in the HOMOLOG environment (smae network as production) and it seems to be working fine (same IP 10.198.14.61, ports 61616 / 62626 and console on 8161 / 8262). I testes a demo queue... through web console... I posted and consumed a message on queue and both master/slav

Re: Slave of ActiveMQ Cluster does not dequeue messages

2011-05-10 Thread danieldestro
Just to add more info. Start command is: nohup ./activemq start & -- View this message in context: http://activemq.2283324.n4.nabble.com/Slave-of-ActiveMQ-Cluster-does-not-dequeue-messages-tp3513100p3513119.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Slave of ActiveMQ Cluster does not dequeue messages

2011-05-10 Thread danieldestro
Hello All. Just downloaded ActiveMQ 5.4.2 and tested its cluster mode on my development workstation (PC with Ubuntu Linux 10.04) and it worked fine. Configured Master to port 61616 and console to port 8161. Slave configured to port 62626 and console to 8262. Both on the same IP. I tested all poss

Re: ActiveMQ and JBoss

2011-05-10 Thread Gary Tully
you may find some helpful config snippets in https://issues.apache.org/jira/browse/AMQ-2670 On 10 May 2011 11:09, Alec Bickerton wrote: > In my workplace we've been using activemq (5.4.2 - 5.5.0 ) with Tomcat > successfully for the past 12 months. So far so good. > > We have the following setup.

Re: I need JDBC Table definations.

2011-05-10 Thread Gary Tully
it looks like we need a specialization of the create statements for terajdbc. On 10 May 2011 12:49, mahens wrote: > Thanks Gary Tully, > > as you said it creates tables during startup so i removed tables from > database.Now i tryed to start the broker but getting error like: > >  INFO | Using Per

Re: sync between two independent brokers

2011-05-10 Thread Johan Edstrom
If you use camel, have a DataBase, you can always apply an idempotentrepository. On May 10, 2011, at 5:52 AM, Christoph Burmeister wrote: > Hi, > > I have two brokers with nearly the same configuration. They don't > share a database nor have access to the same filesystem. They will get > identic

RE: ActiveMQ-CPP client hangs while connecting when ActiveMQ is not running

2011-05-10 Thread Suneel Papineni
Thanks Oscar & Tim for your time. It works when I followed the format specified. Thanks & Regards Suneel -Original Message- From: Oscar Pernas [mailto:os...@pernas.es] Sent: 10 May 2011 14:57 To: users@activemq.apache.org Subject: Re: ActiveMQ-CPP client hangs while connecting when A

Re: Possibly a daft question

2011-05-10 Thread Johan Edstrom
It is possible that 4 made it on the "extra" message in a buffer, but your client did not yet see it. If you have CLIENT_ACKNOWLEDGE you will then ack all messages on the session, to truly force ack of everything you can use AMQ's INDIVIDUAL_ACKNOWLEDGEMENT > But I'll ask it anyway... > > Cli

Re: ActiveMQ-CPP client hangs while connecting when ActiveMQ is not running

2011-05-10 Thread Oscar Pernas
If you are using startupMaxReconnectAttempts=3, connection should not block you. Perhaps could be the way of you are writing the address. I allways set address like this: failover://(tcp://localhost:61616)?startupMaxReconnectAttempts=1&initialReconnectDelay=1 and it works fine. Try it. 2011/5/1

Possibly a daft question

2011-05-10 Thread James Green
But I'll ask it anyway... Client(s) receiving from a topic messages 1, 2, 3 and 4. prefetch is set to 1, client to ACK. Msgs 1,2 come in and are ACK'd. Msg 3 comes in but is not ACK'd. Does msg 4 make it through or must 3 be either ACK'd or expired first? I am expecting that the queue comes to a

Re: Linking error while compiling ActiveMQ-CPP in HP-UX using aCC

2011-05-10 Thread Timothy Bish
On Tue, 2011-05-10 at 01:10 -0700, Radha Manickam wrote: > Hi Tim, > > I tried with ActiveMQ-CPP 3.4.0. Still I am getting the same error. > > Thanks, > Radha. Could be related to the version of your compiler or some issue in the configuration scripts on HP. We don't have any regular contribut

Re: ActiveMQ-CPP client hangs while connecting when ActiveMQ is not running

2011-05-10 Thread Timothy Bish
On Tue, 2011-05-10 at 13:24 +0100, Suneel Papineni wrote: > Hi, > > > > I am trying to connect to ActiveMQ which is not running or stopped > through an ActiveMQ-CPP client. The application hangs while doing this > and I need to kill the application through task manager. (i.e. getting > hung at

ActiveMQ-CPP client hangs while connecting when ActiveMQ is not running

2011-05-10 Thread Suneel Papineni
Hi, I am trying to connect to ActiveMQ which is not running or stopped through an ActiveMQ-CPP client. The application hangs while doing this and I need to kill the application through task manager. (i.e. getting hung at "connectionFactory->createConnection(uname,pwd,applicationId);" at this s

sync between two independent brokers

2011-05-10 Thread Christoph Burmeister
Hi, I have two brokers with nearly the same configuration. They don't share a database nor have access to the same filesystem. They will get identical messages (Message-reception is not reliable due to network-issues), which are received and processed by camel routes inside each broker. The result

Re: I need JDBC Table definations.

2011-05-10 Thread mahens
Thanks Gary Tully, as you said it creates tables during startup so i removed tables from database.Now i tryed to start the broker but getting error like: INFO | Using Persistence Adapter: JDBCPersistenceAdapter(org.apache.commons.dbcp.BasicDataSource@34c7e8a7) INFO | Database adapter driver ov

Re: I need JDBC Table definations.

2011-05-10 Thread mahens
created table manually with table defination as CREATE TABLE ACTIVEMQ_MSGS (ID BIGINT NOT NULL, CONTAINER VARCHAR(250), MSGID_PROD VARCHAR(250), MSGID_SEQ BIGINT, EXPIRATION BIGINT, MSG BYTE, PRIMARY KEY ( ID ) ); but still i am getting following error on startup: Using Persistence Adapter:

Re: Does OpenWire support object message transformation for non-Java clients?

2011-05-10 Thread mjustin
Aleksandar Ivanisevic-3 wrote: > > mjustin writes: > >> Hello, >> >> With ActiveMQ and Stmp I was able to implement message exchange between >> Java >> and non-Java clients using the XML or JSON based object message >> transformation. So a Java object could be consumed by a D

Activemq crashing after few days with journaledJDBC

2011-05-10 Thread Chaitanya
We are using Activemq 5.2 with journaledJDBC using DB2 database. Activemq is crashing after few days of up time. Same test used to work if we don't use persistentAdapter. Snippet from conf files - Error seen in log - Error 1 - 2011-03-25 08:43:26,892 [Q Cleanup Timer] ERROR DefaultDat

Re: ActiveMQ.Advisory.MessageConsumed.TempQueue problem

2011-05-10 Thread Gary Tully
the purge is necessary to release the resources associated with the temp queue. see: https://issues.apache.org/jira/browse/AMQ-2616 but I think you have a good point here. the advisory for consumed should be conditional on the message getting acked by a consumer. It should be easy enough to fix b

Re: I need JDBC Table definations.

2011-05-10 Thread Gary Tully
they will be created automatically on startup, the sql statements can be found in the source, see the getCreateSchemaStatements metod at http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/jdbc/Statements.java?view=markup On 10 May 2011 11:29, mahe

I need JDBC Table definations.

2011-05-10 Thread mahens
Where can I find the JDBC table definations that I need to create in my database for JDBC persistence? -- View this message in context: http://activemq.2283324.n4.nabble.com/I-need-JDBC-Table-definations-tp3511491p3511491.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

ActiveMQ and JBoss

2011-05-10 Thread Alec Bickerton
In my workplace we've been using activemq (5.4.2 - 5.5.0 ) with Tomcat successfully for the past 12 months. So far so good. We have the following setup. topic-dev topic-test topic-production Each component creates a non-durable subscriber to the topic that fits its deployment stage. (dev/test/

Re: Does OpenWire support object message transformation for non-Java clients?

2011-05-10 Thread Aleksandar Ivanisevic
mjustin writes: > Hello, > > With ActiveMQ and Stmp I was able to implement message exchange between Java > and non-Java clients using the XML or JSON based object message > transformation. So a Java object could be consumed by a Delphi app for > example without any changes on the Java side. > >

Re: Linking error while compiling ActiveMQ-CPP in HP-UX using aCC

2011-05-10 Thread Radha Manickam
Hi Tim, I tried with ActiveMQ-CPP 3.4.0. Still I am getting the same error. Thanks, Radha. -- View this message in context: http://activemq.2283324.n4.nabble.com/Linking-error-while-compiling-ActiveMQ-CPP-in-HP-UX-using-aCC-tp3509163p3511263.html Sent from the ActiveMQ - User mailing list archi