> MessageConsumer consumer = null;
>>>>if (durable && topic) {
>>>>consumer =
>>>> session.createDurableSubscriber((Topic) destination, consumerName);
>>>>
sukoneru) wrote:
>>>
>>> The JMS documentation suggests that we start the connection after
>>> creating the receiver and registering it with a message listener. Please
>>> look at point no: 6 in the section "Client to Consume Messages"
>>> http:
>> http://java.sun.com/developer/technicalArticles/Ecommerce/jms/index.html
>>
>>
>> -Original Message-
>> From: Dave Carlson [mailto:[EMAIL PROTECTED]
>> Sent: Friday, August 17, 2007 7:58 AM
>> To: users@activemq.apache.org
>> Cc: Suchitha
tchReceiverTechnicalService()) ;
>> aqc.start() ;
>>
>> Also I noticed that in the jndi resource for jms/Connectionfactory
>> you are not using max.Inactivity flag for the broker url.
>> But while adding connector to the broker you are using this flag,
>
--Original Message-
From: Dave Carlson [mailto:[EMAIL PROTECTED]
Sent: Friday, August 17, 2007 7:58 AM
To: users@activemq.apache.org
Cc: Suchitha Koneru (sukoneru)
Subject: RE: Error on starting QueueConnection
Are you sure about the ordering? It seems odd that you would want to
start the flow o
please
> use the same broker url through out for consistency.
>
>
> -Original Message-
> From: denez [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 16, 2007 7:03 AM
> To: users@activemq.apache.org
> Subject: Re: Error on starting QueueConnection
>
>
> Do
e not using max.Inactivity flag for the broker url.
>> But while adding connector to the broker you are using this flag, please
>> use the same broker url through out for consistency.
>>
>>
>> -Original Message-
>> From: denez [mailto:[EMAIL PROTECTED]
>
flag for the broker url.
> But while adding connector to the broker you are using this flag, please
> use the same broker url through out for consistency.
>
>
> -Original Message-
> From: denez [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 16, 2007 7:03 AM
> To:
the same broker url through out for consistency.
-Original Message-
From: denez [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 16, 2007 7:03 AM
To: users@activemq.apache.org
Subject: Re: Error on starting QueueConnection
Do you already have this type of error ?
Do i forget something
in the Tomcat console when i pass on the line :
ActiveMQQueueReceiver aqr = (ActiveMQQueueReceiver)qs.createReceiver(q) ;
i've got the error :
SERIOUS : error starting context /jms an that all ??
Could you help me to deal with this error ???
Thanks in advance,
Regards,
Denez
denez wrote:
>
Do you already have this type of error ?
Do i forget something in my configuration.
I use :
apache-activemq-4.1.1.jar
Tomcat 5.5.23
jdk1.5.0_07
Could you tell me if something is wrong !
Here is my context declaration in Tomcat :
Thanks in advance for all reply, help / answe
Hi all,
I got the same error trying to create a sender !
A very strange thing appear because there is no exception throw ! Just
nothing happened and the rest of my code is never (i suspect) excecuted.
Could you help me, or ask me if something is not clear.
Thanks in advance,
Regards,
Denez
de
I search around to find my error and find that you should use
ActiveMQConnection.
Now i can start the connection but have a same problem will trying to
createReceiver.
See the code below (previous + modification) :
public class ActiveMQBrokerStartListener implements ServletContextListener {
13 matches
Mail list logo