I add a new role for a queue , only user with this role , can browse this
queue .
User can login via activemq web console , but it does not work
below are steps I did
In activemq.xml I define only with role
"UDQUE_ONEWAY_MULTIPLEXER_ROLE"
, can read queue UDQUE_ONEWAY
Yeah Tim, Thanks for your reply!
We do have a consumer for the topic, but I think it should not have impact
for TTL setting for topic. even there is no consumer, if TTL expired.
message in topic should be moved to deadletterqueue right?
But if the consumer exists. it will always pick up message
I tried the deadLetterQueue setting for Queue works but for topic does not
work
,after message expired in topic. it will not be moved to configured
deadLetterQueue.
below is my setting in xml, any hints or suggestions?
Do you have example of the code or configure which shows how to set TTL for
topic?
--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html
Thanks for the reply.
BTW is there such setting like timetolive for message in topic?
the this timetolive expired. then the message in topic will be deleted or
removed to deadletterqueue
--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html
i also changed code a little bit, first example code works, second example
code does not work ##
Do you have any idea why? i need to find a way to define serveal
queuePolicies instead of only one
### it works for redelivery ###
RedeliveryPolicy queuePolicy =connectionFactory.getRedeliveryPolic
that for the reply, i found the reson. then modified the activemq.xml like
below , it works
then question is , the policyEntries i used is only for queue.
destinationPolicy is only for queue.
is there a example configuration of destinationPolicy for both of topic and
queue ?
http://activemq.
With below setting (at activemq.xml )
Set Time to Live does not work,
Set DeadLetterQueue for exceeding maximum redelivery also does not work
The settings are from below documents
http://activemq.apache.org/message-redelivery-and-dlq-handling.html
http://activemq.apache.org/timestampplugin.h