Re: Persistent issue on Windows platform C# on restarting broker

2018-02-08 Thread bittusrivastava
thanks a lot .. yes this worked. 



--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html


what value of networkTTL need to use for synchronous request and reply in network connectors

2018-02-08 Thread Rajesh Malla
We are using n/w connectors between 3 brokers 
is 
A->B
A->C

B->A
B->C

C->A
C->B

also we are using synchronous request and reply pattern using camel to send
and receive message in temp queue.
we have question is it good to use networkTTL = 2 in above configuration ?
will it work properly or 
is there any chance of losing message ?
for example

A   B   C
tmpQ  tmpQ  tmpQ

what if producer send message to A and waiting on tmpQ, consumer C receives
message and reply to  tmpQ [ of C], ? 

 A,B,C are producers and consumers on tmpQ



--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html


Re: Disable access to Dead Letter Queue

2018-02-08 Thread cnadukula
hi Justin,

just wanted an insight on what i was doing.

We are trying to disable curl/hawtio access to one of our production artemis
instances and only to dead letter queue. I tried one of the suggestions that
you had put in
http://activemq.2283324.n4.nabble.com/Disable-access-to-Dead-Letter-Queue-td4734679.html#a4734878
but that did not work as expected. so this is what i had done. in the
management.xml file, i added the below entry, under  element.



 


But every once in a while (rarely), is see what i was looking for. which is,
when i access DLQ it say "No operations found for this...", but after a
push some messages to DLQ and check back again, i am able to see the
messages on the queue via both hawtio browse operation and also via curl.

Am i missing anything here or is this a bug? Please advise.

Thanks,
Chandra



--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html


Re: Persistent issue on Windows platform C# on restarting broker

2018-02-08 Thread Timothy Bish
Are you sending the messages with durable = true set on them?

On Feb 8, 2018 7:21 AM, "bittusrivastava"  wrote:

> one thing i want to add that i am using amqp.netlite library for amqp
> protocol
>
>
>
> --
> Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-
> f2341805.html
>


Re: Persistent issue on Windows platform C# on restarting broker

2018-02-08 Thread bittusrivastava
one thing i want to add that i am using amqp.netlite library for amqp
protocol



--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html


Persistent issue on Windows platform C# on restarting broker

2018-02-08 Thread bittusrivastava
Hi,
I have configured activeMq to use persistence mode like below
 http://activemq.apache.org/schema/core";
brokerName="localhost"  persistent="true"  useShutdownHook="false"
dataDirectory="${activemq.data}">

-
  




but whenever i restart activemq from services window,  i could see that all
Queue related data lost from http://localhost:8161/admin/queues.jsp
Can anyone guide me as what i am doing wrong?

Thanks in advance





--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html