Are you using the LargeServerMessageImpl on your client, or that was
just a "hack" to reproduce your issue.


LargeServerMessageImpl was not meant to be used on the client. But if
you're doing that just to show something you faced in production it's
ok.. but using the LargeServerMessageImpl to send a Client Message is
a big not for me.

The only reason we do that is for server to server transfer.

On Mon, Jul 18, 2022 at 7:39 AM Andy Yar <[email protected]> wrote:
>
> Hello,
> Yes, the 2.23.1 test instance was freshly created.
>
> I've attached a test as a part of ARTEMIS-3897
> <https://issues.apache.org/jira/browse/ARTEMIS-3897>. I hope it helps.
>
>
> On Sat, Jul 16, 2022 at 5:21 PM Clebert Suconic <[email protected]>
> wrote:
>
> > Did you start with fresh data on 2.23.1.
> >
> > If you did please provide a self enclosing test reproducing your issue.
> >
> > On Fri, Jul 15, 2022 at 4:29 AM Andy Yar <[email protected]> wrote:
> >
> > > A quick test using 2.23.1 results in the same error payload being
> > received:
> > >
> > > "Message(address='test', durable=True, priority=4,
> > > annotations=AnnotationDict({symbol('x-opt-jms-dest'): byte(0),
> > > symbol('x-opt-jms-msg-type'): byte(0)}),
> > > properties={'JMSXDeliveryCount': None, '_AMQ_LARGE_SIZE': 67},
> > > body='Conversion to AMQP error: Error reading in simpleString,
> > > length=1330464032 is greater than readableBytes=62')"
> > >
> > > Best regards
> > >
> > > On Thu, Jul 14, 2022 at 9:18 PM Clebert Suconic
> > > <[email protected]> wrote:
> > > >
> > > > There's been a few fixes in AMQP Large message.
> > > >
> > > >
> > > > More prominently a fix with the JDBC implementation between 2.17 and
> > > HEAD.
> > > >
> > > >
> > > > I would definitely recommend you to upgrade.
> > > >
> > > > On Thu, Jul 14, 2022 at 10:26 AM Justin Bertram <[email protected]>
> > > wrote:
> > > > >
> > > > > I would expect this to work. Can you try this on the latest release
> > > (i.e.
> > > > > 2.23.1) [1]?
> > > > >
> > > > > If it still doesn't work please open a Jira with all the details
> > > necessary
> > > > > to reproduce the problem. An actual test-case would be ideal.
> > > > >
> > > > > Thanks!
> > > > >
> > > > >
> > > > > Justin
> > > > >
> > > > > [1] https://activemq.apache.org/components/artemis/download/
> > > > >
> > > > > On Thu, Jul 14, 2022 at 9:20 AM Andy Yar <[email protected]>
> > wrote:
> > > > >
> > > > > > Hello,
> > > > > > Sending a message as a Large Message via Core protocol and
> > receiving
> > > > > > it via AMQP on Artemis 2.17.0 ends with receiving the following
> > > string
> > > > > > as message body:
> > > > > >
> > > > > > "Conversion to AMQP error: Error reading in simpleString, length=y
> > is
> > > > > > greater than readableBytes=x"
> > > > > >
> > > > > > Broker lists the message as Type: Default and Large: True.
> > > > > >
> > > > > > The receiver is basically Qpid's:
> > > > > >
> > > > > >
> > >
> > https://github.com/apache/qpid-proton/blob/main/python/examples/queue_browser.py
> > > > > >
> > > > > > The doc
> > > > > >
> > >
> > https://activemq.apache.org/components/artemis/documentation/2.17.0/large-messages.html
> > > > > > states both Core and AMQP support Large Message. Is this approach
> > > > > > valid?
> > > > > >
> > > > > > Thanks
> > > > > >
> > > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Clebert Suconic
> > >
> > --
> > Clebert Suconic
> >



-- 
Clebert Suconic

Reply via email to