[rabbitmq-discuss] publisher-confirms timeout and CorrelationData

Gary Russell grussell at gopivotal.com
Fri Dec 6 17:46:34 GMT 2013


The only possible way to get null correlation data is if you pass in null
(or use one of the send() methods that doesn't have a CorrelationData
parameter) - like the one you have commented out in the version of your
class that you attached.


On Fri, Dec 6, 2013 at 12:15 PM, PATAR, SAGAR <sp345s at att.com> wrote:

>
>
> I have the publisher-confirms stuff working but have couple of issue ..
>
> 1)  When I use an username with no access to publish to a particular
> exchange … After send the system seems to be waiting for the response and
> never times out .. I have configured the  requested-heartbeat but doesn’t
> seems to have any affect ..
>
> 2)  With Valid user access the confirmation shows null correlationData …
> not sure why??
>
>
>
> I am attaching the spring context file , the java file and the log ..
>
>
>
> --Code--
>
> *private* RabbitTemplate amqpTemplate = *null*;
>
> amqpTemplate.send(jndiName, bindingKey, amqpMsg, *new*CorrelationData(message.getSrcTxId()));
>
>
>
>
> --log--
>
> 06 Dec 2013 11:48:03,282 AMQP Connection 127.0.0.1:5672 - Sending confirm
> PendingConfirm [correlationData=null]
>
>
>
> Appreciate all the help. Thank you..
>
> Sagar
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20131206/8b845b77/attachment.html>


More information about the rabbitmq-discuss mailing list