the following link on stackoverflow seems to indicate it is an Azure service bus limitation
https://stackoverflow.com/questions/22384193/azure-service-bus-message-size-technology-limit-and-pricing On Fri, Jun 22, 2018 at 10:09 AM, Tunikov, Eugeniy <eugeniy.tuni...@cgm.com> wrote: > I am new to camel framework so I cannot go deeper into the problem. > Basicly what we are doing is sending messages to azure service bus queue > and getting error when messages are bigger then 256kb. > The owner of service bus suggested that I should change configuration to > something like this > > <binding name="BasicHttpBinding " > maxBufferSize="2147483647" > maxBufferPoolSize="2147483647" > maxReceivedMessageSize="2147483647"> > > and since my project is in java and not .net i need to be able to change > these values somewhere. > > I also did some debugging of camel and I notice a property > public void setMaxMessageSize(UnsignedLong maxMessageSize) > in > org.apache.qpid.amqp_1_0.type.transport.Attach class > which is always being set to 262144. > I don't know where the value is coming from but my guess is that whats > causing the problem. > > I hope its more clear now. > > Thanks > > > -----Original Message----- > From: Quinn Stevenson <qu...@pronoia-solutions.com> > Sent: 22. juni 2018 15:14 > To: users@camel.apache.org > Subject: Re: Cannot send files bigger then 256kb to service bus via amqps > > > > Can you be more specific about what is failing where? > > We process over 100,000 multi-megabyte messages per day and have never hit > this sort of an issue. > > > > > On Jun 22, 2018, at 1:20 AM, Tunikov, Eugeniy <eugeniy.tuni...@cgm.com> > wrote: > > > > We are routing messages to service bus. And getting error when trying to > send messages bigger then 256kb. > > Error{condition=message-size-exceeded,description=The received message > > (delivery-id:0, size:327565 bytes) exceeds the limit (262144 bytes) > currently allowed on the link.} And also exception saying that link has > been detached. > > Is this message soming from service bus or from camel framework? And how > can I solve it? > > > > Thanks > > > >