On 25 June 2015 at 13:40, acartcat <[email protected]> wrote:
> We have been using the Qpid JMS 0.1.0 release to talk AMQP 1.0 to Windows
> Service Bus and Azure Service Bus.  After a bit of work we have a stable
> implementation but we would like to move to the proton base JMS.  With a
> test harness we can talk to Windows service bus and send messages based on
> your examples but when attempting to send 100 messages in a row we get:
> "Holding Message send until credit is available"
> In further testing with Azure Service Bus we get the following on the first
> message send attempt:
>
> 2015-06-25 22:20:25,275 [dows.net:5671/]] - TRACE AmqpFixedProducer
> - Holding Message send until credit is available.
>
> and
>
> 2015-06-25 22:20:25,529 [dows.net:5671/]] - TRACE FRAMES
> - RECV: Flow{nextIncomingId=1, incomingWindow=0, nextOutgoingId=1,
> outgoingWindow=2046, handle=0, deliveryCount=0, linkCredit=1000,
> available=0, drain=false, echo=false, properties=null}
>
> Any suggestions on where I should be looking?
>

Hi Andrew,

Can you clarify if you are actually seeing a problem/failure when
sending the messages, or if it is simply the presense of the trace log
entry you are concerned about?

That particular trace level logging is there to indicate that the
application is trying to send a message, but the producers underlying
AMQP sending link didn't currently have any credit available from the
'broker' peer at that immediate point in time, and so the message
wasn't able to be sent at that exact instant. That leads to the trace
log message you mentioned and the client waiting for [more] credit to
be granted by the broker, at which point the message shoud get sent
and the allow the send call to return.

It is hard to say for sure without seeing the full log, but in the
case of this happening [only?] on the very first message, I could
imagine (and the log snippets sem consistent with) what happened being
that the producing link was attached by the 'broker', resulting in the
JMS Producer object being created and returned, and the application
was then able to attempt a send before the brokers initial grant of
credit for the producer actually arrived at the client (via the Flow
frame like your logging above shows).

Robbie

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to