<div dir="ltr">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.</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Dec 6, 2013 at 12:15 PM, PATAR, SAGAR <span dir="ltr"><<a href="mailto:sp345s@att.com" target="_blank">sp345s@att.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:Consolas"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:Consolas">I have the publisher-confirms stuff working but have couple of issue ..<u></u><u></u></span></p>
<p><u></u><span style="font-size:10.0pt;font-family:Consolas"><span>1)<span style="font:7.0pt "Times New Roman"">
</span></span></span><u></u><span style="font-size:10.0pt;font-family:Consolas">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 .. <u></u>
<u></u></span></p>
<p><u></u><span style="font-size:10.0pt;font-family:Consolas"><span>2)<span style="font:7.0pt "Times New Roman"">
</span></span></span><u></u><span style="font-size:10.0pt;font-family:Consolas">With Valid user access the confirmation shows null correlationData … not sure why??<u></u><u></u></span></p>
<p><span style="font-size:10.0pt;font-family:Consolas"><u></u> <u></u></span></p>
<p><span style="font-size:10.0pt;font-family:Consolas">I am attaching the spring context file , the java file and the log ..
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:Consolas"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:Consolas">--Code--<u></u><u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:Consolas;color:#7f0055">private</span></b><span style="font-size:10.0pt;font-family:Consolas"> RabbitTemplate
</span><span style="font-size:10.0pt;font-family:Consolas;color:#0000c0">amqpTemplate</span><span style="font-size:10.0pt;font-family:Consolas"> =
</span><b><span style="font-size:10.0pt;font-family:Consolas;color:#7f0055">null</span></b><span style="font-size:10.0pt;font-family:Consolas">;</span><span style="font-size:10.0pt;font-family:Consolas;color:#0000c0"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:Consolas;color:#0000c0">amqpTemplate</span><span style="font-size:10.0pt;font-family:Consolas">.send(jndiName, bindingKey, amqpMsg,
</span><b><span style="font-size:10.0pt;font-family:Consolas;color:#7f0055;background:yellow">new</span></b><span style="background:yellow;font-size:10.0pt;font-family:Consolas"> CorrelationData(message.getSrcTxId()</span><span style="font-size:10.0pt;font-family:Consolas">));
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:Consolas"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:Consolas">--log--<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:Consolas">06 Dec 2013 11:48:03,282 AMQP Connection <a href="http://127.0.0.1:5672" target="_blank">127.0.0.1:5672</a> - Sending confirm PendingConfirm [<span style="background:yellow">correlationData=null</span>]<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:Consolas"><u></u> <u></u></span></p>
<p class="MsoNormal">Appreciate all the help. Thank you..<span class="HOEnZb"><font color="#888888"><u></u><u></u></font></span></p><span class="HOEnZb"><font color="#888888">
<p class="MsoNormal">Sagar<u></u><u></u></p>
</font></span></div>
</div>
<br>_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
<br></blockquote></div><br></div>