[camel] Spring and Custom Components

2007-05-09 Thread Jeff Gunther
Hi All, Here is the code snippet I'm working to configure in Spring: final CamelContext container = new DefaultCamelContext(); container.addComponent("foo", new FooComponent(container)); I'm using the Spring 2.0 XML Namespaces approach to define my routes. How can I add a custom component to

ActiveMQ CPP 2.0.1 Released

2007-05-09 Thread Timothy Bish
Hi everyone, The ActiveMQ*-CPP 2.0.1 release is now official! You can download the source distribution here: http://activemq.apache.org/cms/activemq-cpp-201-release.html . There are several bug fixes and enhancements that you might want

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

2007-05-09 Thread Timothy Bish
Have you tried using the options for the configure script? --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional) --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional) ./configure --help will show you all the options On Wed, 2007-05-09 at 07:17

Re: ActiveMQ 4.1.1 MS SQL Server 2005 ACTIVEMQ_MSGS not found

2007-05-09 Thread James Strachan
The important line of the log is On 5/4/07, kbd <[EMAIL PROTECTED]> wrote: 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 as per a posting on this site. Made a prior issue go away.

Re: XMPP/Jabber connectivity not working?

2007-05-09 Thread James Strachan
On 5/9/07, ender <[EMAIL PROTECTED]> wrote: Hello, I just started looking into ActiveMQ, and wanted to try the Xmpp functionality. However, when I log in (using Spark 2.5.2 ), ActiveMQ issues the following warnings: WARN ProtocolConverter - Iq Unknown to: null type: get from: en

Re: ActiveMQ 4.1.1 MS SQL Server 2005 ACTIVEMQ_MSGS not found

2007-05-09 Thread Mario Siegenthaler
Yeah, exactly. Actually what we did was to just compile this one file (unfortunate it has some dependencies), then pack it in its own jar (like mssqladapter,jar or something) and copy it to the activemq lib directory so it gets added to the classpath. I'd be happy to send you our jar, but unfortun

Re: Possible to Trade an In-Memory Queue between producer instances with embedded brokers?

2007-05-09 Thread James Strachan
On 5/9/07, Chris Hofstaedter <[EMAIL PROTECTED]> wrote: I'm using 4.0.2 on various Windows machines. I've got a producer with an embedded broker with a MemoryPersistenceAdapter wrapped in a Log4J appender. At times, the log4j.xml file may change in ways that affect the way the producer/embedd

Re: Failover blocks send

2007-05-09 Thread James Strachan
On 5/8/07, Dingwen Yuan <[EMAIL PROTECTED]> wrote: Hi all, I have used a failover url to configure my JMS client, such as this "failover:(tcp://127.0.0.1:61616)?jms.useAsyncSend=true". But when the JMS broker is down and the client is trying to connect to the broker, all send to topics or que

Re: Re: Way to know whether failover client is connecting?

2007-05-09 Thread James Strachan
On 5/8/07, Dingwen Yuan <[EMAIL PROTECTED]> wrote: But what is the programmable way to know it? Try the TransportListener which gets notified when connections to a broker start/stop/fail etc http://activemq.apache.org/maven/activemq-core/apidocs/org/apache/activemq/ActiveMQConnection.html#addT

Re: Broker Pipeline

2007-05-09 Thread James Strachan
On 5/7/07, Banana Man <[EMAIL PROTECTED]> wrote: Hi All, Hi Banana Man :) I am looking for some advice on using the broker for a pipeline of components (http://activemq.apache.org/camel/pipes-and-filters.html). A couple of pre-requisites of the pipeline are: 1) the processing components sh

XMPP/Jabber connectivity not working?

2007-05-09 Thread ender
Hello, I just started looking into ActiveMQ, and wanted to try the Xmpp functionality. However, when I log in (using Spark 2.5.2 ), ActiveMQ issues the following warnings: WARN ProtocolConverter - Iq Unknown to: null type: get from: ende [EMAIL PROTECTED]/spark id: UGqcX-4 element

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

2007-05-09 Thread didyeah971
I tried a new cpp-unit install (v1.12.0) thanks to macports and the cppunit libs seems to be installed in '/opt/local/lib'. A binary (cppunit-config) is installed in opt/local/bin Actually, i cannot launch ./configure (if you're speaking about the amqcpp one) because the error occurs when i launc

Possible to Trade an In-Memory Queue between producer instances with embedded brokers?

2007-05-09 Thread Chris Hofstaedter
I'm using 4.0.2 on various Windows machines. I've got a producer with an embedded broker with a MemoryPersistenceAdapter wrapped in a Log4J appender. At times, the log4j.xml file may change in ways that affect the way the producer/embedded broker are configured. When the change is detected, L

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

2007-05-09 Thread Timothy Bish
Where does the cppunit stuff get installed? By default on Linux if you use the src distribution to install cppunit it puts itself in /usr/local and can't be found by the autoconf scripts, so you have to manually set the prefix to /usr i.e ./configure --prefix=/usr I don't know if something similar

Re: Unable to build cpp client

2007-05-09 Thread Timothy Bish
What does the config.log say? On Wed, 2007-05-09 at 01:11 -0700, Edward KIM wrote: > When i try to build activemq-cpp-2.0, I got error message like this. > > OS : SunOS uomc 5.10 Generic_118855-19 i86pc i386 i86pc > Autotools : autoconf 2.6, automake 1.9.5, libtool 1.5.22, m4 1.4.9, gcc > 3.4.6

Re: Way to know whether failover client is connecting?

2007-05-09 Thread Adrian Co
afaik, yes. Dingwen Yuan wrote: > It works. Another question for XML configuration: > > suppose I have the following network connectors config. > >uri="static://(tcp://host1:61616,tcp://host2:61616)" /> > > > Does it mean that the broker has two network connectors, one wi

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

2007-05-09 Thread didyeah971
I followed the specific install for mac os x ( ./configure , make and make install, with flags) on this http://cppunit.sourceforge.net/cppunit-wiki/BuildingCppUnit1#head-67706fd38aa0040e96664d7bc40157f1b9df5650 site I updated autoconf thanks to MacPort, and i still have the same error. it's th

Re: Re: Way to know whether failover client is connecting?

2007-05-09 Thread Dingwen Yuan
It works. Another question for XML configuration: suppose I have the following network connectors config. Does it mean that the broker has two network connectors, one will connect to either host1 or host2, while the other will always try to connect to host3. So many ques

Unable to build cpp client

2007-05-09 Thread Edward KIM
When i try to build activemq-cpp-2.0, I got error message like this. OS : SunOS uomc 5.10 Generic_118855-19 i86pc i386 i86pc Autotools : autoconf 2.6, automake 1.9.5, libtool 1.5.22, m4 1.4.9, gcc 3.4.6 [EMAIL PROTECTED] # ./configure checking for a BSD-compatible install... config/install-sh

Re: Way to know whether failover client is connecting?

2007-05-09 Thread Adrian Co
Network connections at the moment are one-way afaik. You would need to create a network connection from the remote broker to the embedded broker to be able to receive messages to the embedded broker. I think there's a jira to make it two-way, but I can't remember the number... sorry. Dingwen Yuan