Re: Spring 2.0 schema support

2007-03-15 Thread James Strachan
On 3/15/07, Adam Lewandowski <[EMAIL PROTECTED]> wrote: After working around an issue with the schema resolution (see issue AMQ-1016), I'm getting a parse error trying to use the 'amq' namespace. Here's the pared-down application context definition to illustrate the issue, based on the example at

Re: Subscription acknowledgements

2007-03-15 Thread James Strachan
On 3/15/07, Allesmallachen <[EMAIL PROTECTED]> wrote: Hi, I have an application scenario where it is neccessary that subscribers know when they are successfully subscribed. A subscriber is successfully subscribed when the session.createConsumer(...) method returns. 1. Is there a mechanism a

Re: [Spam: 5.0] ActiveMQ Applet

2007-03-15 Thread James Strachan
On 3/15/07, NJ No1 <[EMAIL PROTECTED]> wrote: James.Strachan wrote: > > Which browser did you use? Were there any javascript errors? > My HTML looks like: Did the examples work for you? http://activemq.apache.org/web-samples.html James.Strachan wrote: > > Here you go > http://java.sun.com/d

Do activemq client API support transparent failover?

2007-03-15 Thread PeterT2007
Hi, I am new to the activemq, I wonder the activemq client API (both java & and C++) support transparent fail-over. For example, messageProducer->send() method will not throw any exception back to the client during broker switch over. Thanks in advance, Peter -- View this message in contex

Re: [Spam: 5.0] ActiveMQ Applet

2007-03-15 Thread NJ No1
James.Strachan wrote: > > Which browser did you use? Were there any javascript errors? > My HTML looks like: Message Listening amq.uri='/amq'; var myHandler = { rcvMessage: functi

Re: Connection pooling

2007-03-15 Thread Bruce Snyder
On 3/15/07, garima015 <[EMAIL PROTECTED]> wrote: Hi, Can anyone give me some idea on how i can implement the activemq connection pooling. I tried using this code PooledConnectionFactory connectionFactory = new PooledConnectionFactory(ipAddress); and then setting up the number of connections.Bu

Spring 2.0 schema support

2007-03-15 Thread Adam Lewandowski
After working around an issue with the schema resolution (see issue AMQ-1016), I'm getting a parse error trying to use the 'amq' namespace. Here's the pared-down application context definition to illustrate the issue, based on the example at http://activemq.apache.org/spring-support.html http:

Connection pooling

2007-03-15 Thread garima015
Hi, Can anyone give me some idea on how i can implement the activemq connection pooling. I tried using this code PooledConnectionFactory connectionFactory = new PooledConnectionFactory(ipAddress); and then setting up the number of connections.But when i ran it i got this error. java.lang.NoClass

Re: [Spam: 5.0] Two brokers when embedding in Jboss

2007-03-15 Thread Jan Arend Jansen
Hiram, You are probably right about the classloader. Jboss has a pretty complex classloader scheme, so it wouldn't supprise me that the RAR runs on a different classloader... Anyway, thanks for the advice on this. J.A. Hiram Chirino wrote: > > On 3/14/07, Jan Arend Jansen <[EMAIL PROTECTED]> w

Subscription acknowledgements

2007-03-15 Thread Allesmallachen
Hi, I have an application scenario where it is neccessary that subscribers know when they are successfully subscribed. 1. Is there a mechanism available in ActiveMQ (I couldn't find any) or do I have to implement some kind of request/reply between subscribers and publishers (like: "plz send a dum

Problems with Rollbacks

2007-03-15 Thread Jim_Stringer
I've been trying to figure this out for the last few day and I've run out of ideas. I am testing a message driven been ActiveMQ 4.1 using Jencks 2.0 and Spring 2.0.3. Things work fine when no runtime exception is thrown in my message listener. When I do through one ActiveMQ reconnects to the broke

Re: [Spam: 5.0] Broker issue regarding queue

2007-03-15 Thread garima015
I am using activemq 4.1.0 version.In my network of two brokers, When i brings down one broker i am getting INFO FailoverTransport - Transport failed, attempting to automatically reconnect due to: java.io.EOFException on the second broker console. Is this a problem in failover and r

Re: [Spam: 5.0] daft question(s) about network of brokers

2007-03-15 Thread facboy
yeah i've set something up so that it generates the broker name off the jboss instance. how does a durable topic subscription work with a network of brokers? at the moment if i have a durable topic subscriber on either broker, the other one's 'Demand Forwarding Bridge' bombs out with the 'Durabl

Re: [Spam: 5.0] daft question(s) about network of brokers

2007-03-15 Thread Rob Davies
If the brokerName isn't set - it defaults to localhost - I would strongly suggest you explicitly set the brokerName if you are using more than one broker. cheers. Rob Davies http://rajdavies.blogspot.com/ On 15 Mar 2007, at 09:52, facboy wrote: hmm...i also started getting errors of t

Re: [Spam: 5.0] Broker issue regarding queue

2007-03-15 Thread James Strachan
On 3/14/07, garima015 <[EMAIL PROTECTED]> wrote: when i am manually shutting down the broker 1 my application is getting connected to second broker but console of first broker is showing exception.It does not have a clean exit WARN DemandForwardingBridge - Caught exception from local st

Re: embedded network of brokers

2007-03-15 Thread James Strachan
On 3/14/07, Suchitha Koneru (sukoneru) <[EMAIL PROTECTED]> wrote: Hello Active Mq Users , Can we have an embedded network of brokers ? Sure, though there's little point having more than one broker in a JVM Our application uses embedded broker started by a servlet context listen

Re: [Spam: 5.0] daft question(s) about network of brokers

2007-03-15 Thread facboy
hmm...i also started getting errors of this nature: 20:49:48,437 INFO [DemandForwardingBridge] Network connection between vm://jboss-2#8 and tcp://localhost/127.0.0.1:62626 shutdown due to a local error: javax.jms.JMSException: Durable consumer is in use for client: NC_jboss-1_inboundjboss-2 and

Re: [Spam: 5.0] daft question(s) about network of brokers

2007-03-15 Thread facboy
how do i embed the broker without specifying a broker name? the embedded broker always has a brokername = hostname, doesn't it? if i use 'vm://' then it doesn't seem to embed the broker properly, my MDBs don't read the destinations any more. am i even configuring this correctly? i want a 'netw

Re: daft question(s) about network of brokers

2007-03-15 Thread James Strachan
On 3/15/07, facboy <[EMAIL PROTECTED]> wrote: I'm trying to setup a network of brokers here...currently running 2 instances of jboss with ActiveMQ embedded. both have virtually the same configuration (including the same brokerName). Broker's names are intended to be unique. Its better to not

Re: ActiveMQ Applet

2007-03-15 Thread James Strachan
On 3/15/07, James Strachan <[EMAIL PROTECTED]> wrote: On 3/14/07, NJ No1 <[EMAIL PROTECTED]> wrote: > Hi, > > Ive been trying to get an AJAX implementation of an ActiveMQ listener > working in a browser for a while now and it works very intermittently. I > followed the steps outlined in http://ac

Re: ActiveMQ Applet

2007-03-15 Thread James Strachan
On 3/14/07, NJ No1 <[EMAIL PROTECTED]> wrote: Hi, Ive been trying to get an AJAX implementation of an ActiveMQ listener working in a browser for a while now and it works very intermittently. I followed the steps outlined in http://activemq.apache.org/ajax.html and it works the first time I load