Re: Sending message to a queue residing on different machine

2007-05-02 Thread James Strachan
set the brokerURL in the ActiveMQConnectionFactory on the client to point to the tcp://hostname:port that the broker is listening on? On 5/3/07, shwetketu <[EMAIL PROTECTED]> wrote: Hi All I want to send a JMS message to ActiveMQ that is embedded inside my app server (JBOss). The client who i

Re: MSMQ / ActiveMQ Bridge?

2007-05-02 Thread James Strachan
On 5/3/07, notacrime <[EMAIL PROTECTED]> wrote: I was hoping you'd say - 'just run widget x!' I think we'll end up wrapping NMS in a service, with a configuration file to define which queue on the MSMQ side should talk to which queue on the AMQ side, and so on. Having researched MSMQ for most

Re: MSMQ / ActiveMQ Bridge?

2007-05-02 Thread notacrime
I was hoping you'd say - 'just run widget x!' I think we'll end up wrapping NMS in a service, with a configuration file to define which queue on the MSMQ side should talk to which queue on the AMQ side, and so on. Having researched MSMQ for most of the day today it's very sad to see that it prov

Re: MSMQ / ActiveMQ Bridge?

2007-05-02 Thread James Strachan
On 5/3/07, James Strachan <[EMAIL PROTECTED]> wrote: On 5/2/07, notacrime <[EMAIL PROTECTED]> wrote: > > We're faced with having to integrate with a Microsoft application that uses > MSMQ as it's messaging bus. We use AMQ, and STOMP, and would like to create > a bridge between the MSMQ queues and

Re: MSMQ / ActiveMQ Bridge?

2007-05-02 Thread James Strachan
On 5/2/07, notacrime <[EMAIL PROTECTED]> wrote: We're faced with having to integrate with a Microsoft application that uses MSMQ as it's messaging bus. We use AMQ, and STOMP, and would like to create a bridge between the MSMQ queues and AMQ. Is there an easy way to do this? NMS does have suppo

Sending message to a queue residing on different machine

2007-05-02 Thread shwetketu
Hi All I want to send a JMS message to ActiveMQ that is embedded inside my app server (JBOss). The client who is sending the message is on different server but knows the JMS.. What should i do to establish the communication? Can any one please help me??? -- View this message in context: htt

Unable to build cpp client

2007-05-02 Thread gimme cocoa
When i try to build activemq-cpp-2.0, I got error message like this. $ configure checking for a BSD-compatible install... config/install-sh -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... config/install-sh -c -d checking for gawk... no checking for mawk

Re: Creating simple producer and consumer

2007-05-02 Thread Jonas Lim
Hi, Can you check if you're calling the connection's start method (connection.start()) before starting your consumers. You could also try running the example consumer that is included in the distribution to check if the problem is with your consumer. Regards, Jonas Bai Shen wrote: Okay, s

Re: [camel] using camel spring container

2007-05-02 Thread dr.jeff
http://activemq.apache.org/camel/schema/camel-1.0.xsd";> This looks good, but how do I use it? I've tried things like: and and and https://svn.apache.org/repos/asf/activemq/camel/trunk/camel-spring/src/test/resources/org/apache/camel/spring/endpointReference.xml > > whe

Re: Network of brokers - messages not forwarded

2007-05-02 Thread Mario Siegenthaler
The default value of networkTTL is 1 (per the documentation); does this mean that messages will not cross more than one broker? Could that be causing the problem above? I'd say it's the TTL that causes your problem (it actually does what you said). Try setting it at least to 2. I'd also config

Please help understand the difference between these tags within the activemq.xml file

2007-05-02 Thread sparky2708
Sorry for asking so many questions but I started some mainstream development using ActiveMQ and things just started popping up. Let's say that I want to achieve a pure master/slave configuration. -- So in my activemq.xml for the MASTER I pu

I get this error periodically: SEVERE: Failed to parse URI: null

2007-05-02 Thread sparky2708
I see something else that I can't explain in version 4.1.1. For some reason I get this error periodically but I never saw it in 4.1.0. I am not sure where it is coming from and it doesn't seem to be consistent. I can run my application and it sometimes will produce the following message and other

MSMQ / ActiveMQ Bridge?

2007-05-02 Thread notacrime
We're faced with having to integrate with a Microsoft application that uses MSMQ as it's messaging bus. We use AMQ, and STOMP, and would like to create a bridge between the MSMQ queues and AMQ. Is there an easy way to do this? Thanks! Gregor -- View this message in context: http://www.nabble.co

Re: Why does this Exception happen periodically in the broker

2007-05-02 Thread sparky2708
Looks like the other post. Seems to have some issue when using with DeliveryMode.PERSISTENT. Used to be OK in the previous version. sparky2708 wrote: > > I get this exception periodically in the broker log (am using v 4.1.1 of > ActiveMQ) and am not sure why it is happening or what is causing i

Why does this Exception happen periodically in the broker

2007-05-02 Thread sparky2708
I get this exception periodically in the broker log (am using v 4.1.1 of ActiveMQ) and am not sure why it is happening or what is causing it (I have a pure Master/Slave configuration): ERROR MasterBroker - Slave Failed java.lang.AssertionError: Unsupported Method at org.

Creating simple producer and consumer

2007-05-02 Thread Bai Shen
Okay, so I used the code on the JNDI page to create a simple producer, and it seems to work fine. Then I modified it to be a consumer. However, it never consumes anything. I've even tried setting the messages to be durable, which I thought would allow me to run the producer, then the consumer.

Re: problem starting/stopping activemq in 4.2 snapshot

2007-05-02 Thread blweiner
Thanks for replying James, Which is the service: /bin/linux/activemq or /bin/activemq-admin? My question is essentially, how do I translate these two lines (don't have original scripts on me now) from 4.1.1: daemon -c /bin/activemq start /bin/shutdown to the two lines I'll need to start and st

Re: Active MQ Integration with JBoss DataSource. JNDI Lookup fails

2007-05-02 Thread tnine
I've solved my other issues with my active MQ issue. I haven't pointed to the data source in my config, only added the spring bean, and I'm still getting failures on the JNDI lookup. So, does a JNDI DS lookup work or not with a RAR? If so, how does it work? I can't seem figure out what else I

Re: activemq-cpp Shared Object...

2007-05-02 Thread Kit Plummer
Concur. I'm not sure how this will happen. We're only working this on Linux...and are definitely not experts in the autogen/configure/ make arena. We've been able to build the .so - but, I'm not sure we could recommend a patch. Kit On May 2, 2007, at 11:08 AM, Timothy Bish wrote: Spec

Re: activemq-cpp Shared Object...

2007-05-02 Thread Timothy Bish
Special care needs to be taken when doing this as I wasn't able to get the shared library to build on Solaris, it would need to be tried on all the platforms before we make that change in trunk. Nathan Mittler wrote: > Ideally, the build should generate both the static and dynamic > versions of >

Re: [camel] using camel spring container

2007-05-02 Thread dr.jeff
I was thinking about referring the other direction. In particular, I was looking for a way to avoid repeating complicated URIs within the camelContext. But if you allow references to endpoints within the camelContext, that would probabably be good enough. James.Strachan wrote: > > On 5/2/07, dr

Re: activemq-cpp Shared Object...

2007-05-02 Thread Nathan Mittler
Ideally, the build should generate both the static and dynamic versions of the library. Patches are always welcome :) On 5/2/07, Kit Plummer <[EMAIL PROTECTED]> wrote: Curious if there is a reason the default build for activemq-cpp is to an archive - rather than a shared object library. The t

Re: [camel] using camel spring container

2007-05-02 Thread James Strachan
On 5/2/07, dr.jeff <[EMAIL PROTECTED]> wrote: Good stuff. It might be useful to be able to refer from the camelContext out into the wider Spring beans context (I would find it useful): ... Great idea! I've just implemented it as follows... https://svn.apache.org/repos/a

Re: Master/Slaver persistent?

2007-05-02 Thread goldi
Yes, I copied the master folder and just replaced the activemq.xml for the slave. Goldi James.Strachan wrote: > > Are you using the same version of jars on the client and broker? > > On 5/2/07, goldi <[EMAIL PROTECTED]> wrote: >> >> Hi everybody, >> >> I have running a Master/Slave. Sending me

Re: [camel] using camel spring container

2007-05-02 Thread dr.jeff
Good stuff. It might be useful to be able to refer from the camelContext out into the wider Spring beans context (I would find it useful): ... ... James.Strachan wrote: > > Yeah, we could definitely have some kinda mechanism like that. Maybe > > > > > >

Re: Master/Slaver persistent?

2007-05-02 Thread James Strachan
Are you using the same version of jars on the client and broker? On 5/2/07, goldi <[EMAIL PROTECTED]> wrote: Hi everybody, I have running a Master/Slave. Sending messages to the master without persistence(DeliveryMode.NON_PERSISTENT) everything works fine. Changing the delivery mode to "Delive

Master/Slaver persistent?

2007-05-02 Thread goldi
Hi everybody, I have running a Master/Slave. Sending messages to the master without persistence(DeliveryMode.NON_PERSISTENT) everything works fine. Changing the delivery mode to "DeliveryMode.PERSISTENT" I get the following exception: ERROR MasterBroker - Slave Failed java.lan

activemq-cpp Shared Object...

2007-05-02 Thread Kit Plummer
Curious if there is a reason the default build for activemq-cpp is to an archive - rather than a shared object library. The thing ends up rather large, making it an uncomfortable fit in some systems I'm working on. Thoughts? Kit

Re: Web Console and binary version

2007-05-02 Thread James Strachan
On 5/2/07, didyeah971 <[EMAIL PROTECTED]> wrote: It runs ok for me now, I tested the latest 4.2 Snapshot version, and the web console is much more comfortable to me. I have some more additional questions about Stomp : is it possible to implement the message selectors with the php client ? Yes

Re: Web Console and binary version

2007-05-02 Thread didyeah971
It runs ok for me now, I tested the latest 4.2 Snapshot version, and the web console is much more comfortable to me. I have some more additional questions about Stomp : is it possible to implement the message selectors with the php client ? what about browsing the queues ? I mean, i just want to

Shared File System Master/Slave Problem

2007-05-02 Thread TheKK
BrokerA.xml http://activemq.org/config/1.0"; useJmx="false" brokerName="BrokerA" persistent="true" deleteAllMessagesOnStartup="false" shutdownOnMasterFailure="false" populateJMSXUserID="true" dataDirectory="${activemq.base}/data">

Re: [camel] using camel spring container

2007-05-02 Thread James Strachan
On 5/1/07, dr.jeff <[EMAIL PROTECTED]> wrote: It would help to avoid these kind of errors if there was some mechanism in place to refer to URIs by reference, somewhat in the way that Spring refs work. If I have: then I can do: ... because I have more than

org.springframework.beans.factory.BeanCreationException

2007-05-02 Thread tonyc
Hi , i am a beginner. i'm trying to get ACTIVEMQ to use MYSQL database for persistence by creating my own XML config file. when i try starting ActiveMQ it fails. have included snippets of my config file and error log. I think it's not able to find the JDBC class for mysql. I have inculded the ja

Re: problem starting/stopping activemq in 4.2 snapshot

2007-05-02 Thread James Strachan
I suspect you're running the activemq shell script (which takes a URI of the configuration as a parameter) rather than the start/stop service script. (We might want to rename the activemq service script to 'activemqservice' or something to avoid folks getting confused). e.g. # run activemq acti