Hi James

I have actually created the destinations(the same way it is being explained
in the link that you had provided ).The  problem i am facing is that when i
try to send a message to the queue from a c# client with the persistent set
to true in the producer i dont see the message on the queue but when i set
persistent flag of producer  to false and send the message , i am able to
find the message.My requirement is to create a persistent queue , i
understand that by default persistence is true.Is there something other than
that i should be doing to make the queue a persistent one and inturn get the
message that is being sent by the producer with its persistent flag set to
"true"
.I am attaching the activemq-ds.xml that i have put on the
JBoss/server/default/deploy and also the broker-config.xml and ra.xml that i
am currently using , please let me know if there is something that i should
be changing in any of those . I am using ActiveMQ 4.0.


Thanks
Karthik


James.Strachan wrote:
> 
> Persistence is on by default. I wonder if this helps...
> 
> http://activemq.apache.org/how-do-i-create-new-destinations.html
> 
> On 3/21/07, Karthik.Gopalakrishnan <[EMAIL PROTECTED]>
> wrote:
>>
>> Hi
>>         I followed the steps given in
>> http://devzone.logicblaze.com/site/integrating-apache-activemq-with-jboss.html
>> http://devzone.logicblaze.com/site/integrating-apache-activemq-with-jboss.html
>> to integrate ActiveMQ with JBoss.I wanted the AdminObject(Queue in my
>> case)
>> created using activemq-ds.xml file to be persistent. I saw the posts on
>> this
>> forum and i learnt that i should set persistent="true" in the <broker/>
>> of
>> broker-config.xml. That was the only change made and even now the queue
>> being created is just a non-persistent one .Is there any other change
>> required needed to create a persistent queue.If yes , please reply with
>> the
>> exact change needed to create a persistent queue.
>>
>>
>> Thanks in advance
>>
>> Karthik
>> --
>> View this message in context:
>> http://www.nabble.com/Creating-a-Persistent-Queue-in-ActiveMQ---tf3439306s2354.html#a9589867
>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>
>>
> 
> 
> -- 
> 
> James
> -------
> http://radio.weblogs.com/0112098/
> 
> 
http://www.nabble.com/file/7317/activemq-jms-ds.xml activemq-jms-ds.xml 
http://www.nabble.com/file/7318/broker-config.xml broker-config.xml 
http://www.nabble.com/file/7319/ra.xml ra.xml 
-- 
View this message in context: 
http://www.nabble.com/Creating-a-Persistent-Queue-in-ActiveMQ---tf3439306s2354.html#a9591373
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to