.Net support for CPP client

2007-05-04 Thread cppUser
Hi, Ive been trying to run the cpp client through .net framework(by including the library and header files in the .net project). However it throws a runtime error [exactly at a dymanic_cast IOTransport* ioTransport = dynamic_castIOTransport*( next ); in TcpTransport.cpp] and doesnt do

Re: .Net support for CPP client

2007-05-04 Thread cppUser
Thanks for the reply. My application is a cpp based one under .net 2003 framework and hence i am trying to make use of the cpp client. The cpp client available here is for VS2005 and hence this runtime error.(It compiled after quite a few add/remove dependencies). Please advice.. James.Strachan

Network of brokers with wildcards on ActiveMQ 4.0.2

2007-05-04 Thread Harry Co
Hi all, Have anyone tried a simple message forward between brokers. I have a simple scenario with localBroker and remoteBroker. I want to forward messages arriving on certain topics (i.e. include.test.bar.topic1and include.test.bar.topic2) from localBroker to remoteBroker. When I try ythe

Re: [camel] using camel spring container

2007-05-04 Thread James Strachan
On 5/3/07, dr.jeff [EMAIL PROTECTED] wrote: Very good, excellent even, and nearly working. :) This: camelContext id=camel xmlns=http://activemq.apache.org/camel/schema/camel-1.0.xsd; endpoint id=endpoint1 uri=direct:start/ endpoint id=endpoint2 uri=mock:end/ route from

RE: facing problems with explicitas well as embedded broker on the same machine with the producer and consumer on different machine ---- need help Urgent

2007-05-04 Thread Jignesh ShaH
Hi James The problem is resolved as I missed connection.start() I could not connect either ways But can u let me know about deleting the Queue contents as even I m setting the Delivery mode to Non Persistent I am having a dispatch count of 6181 -Original Message- From:

Re: facing problems with explicitas well as embedded broker on the same machine with the producer and consumer on different machine ---- need help Urgent

2007-05-04 Thread James Strachan
BTW your previous issue was in the FAQ too... http://activemq.apache.org/i-am-not-receiving-any-messages-what-is-wrong.html On 5/3/07, Jignesh ShaH [EMAIL PROTECTED] wrote: This is the code of the producer with the explicit Broker running as service on the same machine as the producer :

RE: facing problems with explicitas well as embedded broker on the same machine with the producer and consumer on different machine ---- need help Urgent

2007-05-04 Thread Jignesh ShaH
Yup I came to know that later I wanna delete the contents of the Queue even if I am restarting the broker the dispatch count just increases everytime Regards Jignesh -Original Message- From: James Strachan [mailto:[EMAIL PROTECTED] Sent: Friday, May 04, 2007 3:02 PM To:

Re: facing problems with explicitas well as embedded broker on the same machine with the producer and consumer on different machine ---- need help Urgent

2007-05-04 Thread James Strachan
On 5/4/07, Jignesh ShaH [EMAIL PROTECTED] wrote: Yup I came to know that later I wanna delete the contents of the Queue even if I am restarting the broker the dispatch count just increases everytime Dispatch count starts at zero and keeps growing as you run a broker. If you use

RE: facing problems with explicitas well as embedded broker on the same machine with the producer and consumer on different machine ---- need help Urgent

2007-05-04 Thread Jignesh ShaH
Even if I send only 5 messages once every time the consumer fires a receive consumer get the 5 messages even if I am using the non persistent delivery mode and have set the connectionFactory.setDispatchAsync(false); also connectionFactory.setOptimizedMessageDispatch(false); Please let me know

Re: .Net support for CPP client

2007-05-04 Thread Timothy Bish
I don't know anyone that has tried to use ActiveMQ-CPP within the .Net Framework. I don't really know much about it, if you get it working you are welcome to contribute some VC2003 project files. :) cppUser wrote: Thanks for the reply. My application is a cpp based one under .net 2003

Re: ActiveMQ CPP 2.0 graceful cleanup of Session and Connection

2007-05-04 Thread Timothy Bish
Can you provide sample code that demonstrates the problem? Kok Hoor wrote: Hi, I am trying to use the ActiveMQ CPP 2.0 library to develop an XPCOM component to enable Mozilla XULRunner to use JMS messaging. However, one problem I face is, when the ActiveMQ Server is down, and the

Re: Creating simple producer and consumer

2007-05-04 Thread Bai Shen
jlim wrote: For topics the consumer must be created first since messages are only delivered to the available consumers at the time the broker receives the message. For durable subscribers you can create a durable subscriber, kill it, run the producer, then start the subscriber

Re: Creating simple producer and consumer

2007-05-04 Thread James Strachan
On 5/4/07, Bai Shen [EMAIL PROTECTED] wrote: jlim wrote: For topics the consumer must be created first since messages are only delivered to the available consumers at the time the broker receives the message. For durable subscribers you can create a durable subscriber, kill it, run

Re: activemq-cpp Shared Object...

2007-05-04 Thread Hiram Chirino
Well, send that patch anyways :) Even if it's not used we get to see what worked for you. If it at least does not break other builds, it might have a good chance of getting applied. On a sort of related note, anybody have good experience on how we can ensure that bug fix releases stay source

question about Master/Slave shared-nothing and synchronization

2007-05-04 Thread David Budworth
I mistakenly hijacked another thread yesterday when asking this, so I'll repost it as it's own thread. If I understand the wiki and comments I've read on this list recently, AMQ has no state synchronizer. Meaning that if I have Master / Slave and the Master dies, i can't restart it without

Re: ActiveMQ CPP 2.0 graceful cleanup of Session and Connection

2007-05-04 Thread Kok Hoor
Hi, I copied code from the activemq cpp example to create a Consumer which inherits from Runnable. My OnException handler calls a cleanup function that performs the following, but fails during the 'delete session' line. In addition, the catch is not able to catch the exception, and the

Problem for installin ActiveMQ CPP on MAC OS X Tiger

2007-05-04 Thread didyeah971
Hi, I am trying install activemq cpp 2.0 on mac os x 10.4.9.As the automake supplied is obsolete, i am using the latest release, (1.9.6) and cppunit 1.11.6 Once i launch autogen.sh, i have this message: aclocal: configure.ac: 86: macro `AM_PATH_CPPUNIT' not found in library autoreconf:

RE: Problem for installin ActiveMQ CPP on MAC OS X Tiger

2007-05-04 Thread Mittler, Nathan
I have autoconf v2.60 on OS X 10.4.9 and it works fine for me. How did u install cppunit? -Original Message- From: didyeah971 [mailto:[EMAIL PROTECTED] Sent: Friday, May 04, 2007 12:34 PM To: users@activemq.apache.org Subject: Problem for installin ActiveMQ CPP on MAC OS X Tiger

ActiveMQ 4.1.1 MS SQL Server 2005

2007-05-04 Thread kbd
Hello: I am looking for help to get Active MQ and SQl Server 2005 running. When I run Active MQ 4.1.1 configurued to use persistence SQL Server 2005 I get the following error. ERROR DefaultDatabaseLocker - Failed to acquire lock: com.microsoft.sqlserver.jdbc.SQLServerException: Line

Re: question about Master/Slave shared-nothing and synchronization

2007-05-04 Thread Hiram Chirino
If you use a shared DB or file system you should be able to failover and fail back without a problem. On 5/4/07, David Budworth [EMAIL PROTECTED] wrote: I mistakenly hijacked another thread yesterday when asking this, so I'll repost it as it's own thread. If I understand the wiki and comments

Networked brokers not restoring connections after being unplugged.plugged back into network

2007-05-04 Thread William Blackburn
I am using a very simple config of embedded, networked brokers to facilitate inter-cluster communication in my app. I am using multicast networkConnectors as indicated in the file below. Everything works fine until I disable the network on one node. As expected the remaining nodes loose

Re: question about Master/Slave shared-nothing and synchronization

2007-05-04 Thread David Budworth
true, but I was shooting for zero message loss and reasonably high performance with no single points of failure shared db will put us right back at single point of failure(db) that we're looking to avoid with MasterSlave On 5/4/07, Hiram Chirino [EMAIL PROTECTED] wrote: If you use a shared DB

Master/Slave Configuration With Non-Persistence - 2 Brokers Starting Problem

2007-05-04 Thread Franz Garsombke
I have a situation where we want to have a non-persistent topic and run a master/slave configuration with our brokers. The problem is that if we define the broker as non-persistent a broker is started on each server in our cluster. Without defining something like the jdbcPersistenceAdapter we

ActiveMQ 4.1.1 MS SQL Server 2005 ACTIVEMQ_MSGS not found

2007-05-04 Thread kbd
Hello: I am attempting to use MS SQL Server 2005 for persistence storage. My ACTIVEMQ.XML is below. Please note I added the useDatabaseLock=false to persistenceAdapter as per a posting on this site. Made a prior issue go away. Now when I boot ActiveMQ 4.1.1 I get the following: