Why you don't use the JMS API for this?
or if you really want to use the core API, use the getReadOnlyBuffer()
or getDataBuffer() on the Message instead.
On Mon, Mar 22, 2021 at 12:01 PM Justin Bertram wrote:
>
> The stack-trace indicates you're invoking the "readString" method on line
> 93 of M
The stack-trace indicates you're invoking the "readString" method on line
93 of MailServerActiveMQClient.java, but I don't see that call in the code
you pasted. Therefore, that stack-trace doesn't seem correct. Can you
clarify this?
Justin
On Mon, Mar 22, 2021 at 10:55 AM Dondorp, Erwin
wrote:
Fyi:
1953068645(decimal) = 74697665(hexadecimal) = "tive"(ascii text)
And "tive" is likely part of the string "ActiveMQ"?
e.
-Oorspronkelijk bericht-
Van: tobias.w...@t-systems.com
Verzonden: maandag 22 maart 2021 16:41
Aan: users@activemq.apache.org
Onderwerp: AW: send message
EXTERNA
When I send/receive I ByteBuf Message my test fails saying the input/output is
not equal!
public void sendMessageToSmtpQueue(ByteBuf buf) throws
ActiveMQException {
ClientSession session = this.sessionFactory.createSession();
try {
While sending / receiving a text message I get this
java.lang.IndexOutOfBoundsException: Error reading in simpleString,
length=1953068645 is greater than readableBytes=3
at
org.apache.activemq.artemis.api.core.SimpleString.readSimpleString(SimpleString.java:185)
at
org.apache.ac
What actually fails? Do you have a stack-trace?
Justin
On Mon, Mar 22, 2021 at 9:53 AM wrote:
> I try to send and receive a netty ByteBuf message, but it fails.
> What I'm doing wrong here? I even don't know ist he mistake in sending or
> receiving!
> I was thinking to use the jms layer, but I
I try to send and receive a netty ByteBuf message, but it fails.
What I'm doing wrong here? I even don't know ist he mistake in sending or
receiving!
I was thinking to use the jms layer, but I'm receiving the data buffer throught
a netty buffer and I want to avoid to convert the buffer to a byte