Hey,

Batching is supported using proton-j by encoding multiple proton-j messages 
into a single proton-j Message.  Here is a pointer to how we do it in Java:
https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/ReactorSender.java#L249

I hope this helps,
Connie




-----Original Message-----
From: Arun Koshal <akosha...@gmail.com> 
Sent: Wednesday, January 18, 2023 23:07
To: users@qpid.apache.org
Cc: Arun Koshal <akosha...@gmail.com>
Subject: [EXTERNAL] Batch send of messages to Azure event hub using Qpid proton

[You don't often get email from akosha...@gmail.com. Learn why this is 
important at https://aka.ms/LearnAboutSenderIdentification ]

Hi,

I am using the Apache Qpid proton 0.37.0 C++ API to send messages from my 
application to Azure Eventhub. The application is able to send one message at a 
time, the rate of messages is slightly high, so one message at a time is not 
very efficient.

Azure Eventhub supports batches of messages, but I could not figure out a 
mechanism to send messages in batches using Qpid proton. Does it support 
sending batch messages?

It would be a great help if someone can suggest a way to send batch messages.

Thanks and regards,
Arun

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org
For additional commands, e-mail: users-h...@qpid.apache.org

Reply via email to