[rabbitmq-discuss] queue subscription + sending to some exchange

Petar Shomov pshomov at gmail.com
Wed Jun 22 22:43:02 BST 2011


Hi Emile,

Thanx for the suggestion I will google "rabbitmq publisher confirm"
right away ;)

---------------------------------
Regards,

Petar



On Wed, Jun 22, 2011 at 9:23 AM, Emile Joubert <emile at rabbitmq.com> wrote:
> Hi Petar,
>
> On 22/06/11 02:19, Petar Shomov wrote:
>> Hi Emile,
>>
>> What a great suggestion: look into the log file ;). Indeed I looked
>> and found the problem: the exchange I was posting to did not exist.
>> Somehow the first posting succeeded but on the second attempt did not
>> go through or something like that.
>
> I'm glad you found the problem. The first posting would not have
> succeeded, but since publishing is asynchronous, the problem manifests
> later from the client's perspective.
>
> You should consider using publisher confirms in tests that publish
> messages. That would have made this error apparent earlier and avoids
> racy time-outs.
>
>
>
> -Emile
>


More information about the rabbitmq-discuss mailing list