Jiri Danek created ARTEMIS-633:
----------------------------------
Summary: Artemis does not support BLOB messages over OpenWire
Key: ARTEMIS-633
URL: https://issues.apache.org/jira/browse/ARTEMIS-633
Project: ActiveMQ Artemis
Issue Type: Bug
Components: OpenWire
Affects Versions: 1.4.0
Reporter: Jiri Danek
Run either of the following tests from the {{activemq5-unit-tests}} subproject
{code}
$ mvn -Pactivemq5-unit-tests -Dtest=FilesystemBlobTest#testBlobFile test
$ mvn -Pactivemq5-unit-tests -Dtest=FTPBlobTest#testBlobFile test
{code}
Both fail with
{noformat}
[Thread-1 (activemq-netty-threads-2109798150)] 11:33:52,306 INFO
[org.apache.activemq.artemis.core.server] AMQ221003: Trying to deploy queue
jms.queue.org.apache.activemq.blob.FilesystemBlobTest.testBlobFile
java.lang.IllegalStateException: We don't support BLOB type yet!
at
org.apache.activemq.artemis.core.protocol.openwire.OpenWireMessageConverter.toCoreType(OpenWireMessageConverter.java:416)
at
org.apache.activemq.artemis.core.protocol.openwire.OpenWireMessageConverter.inbound(OpenWireMessageConverter.java:127)
at
org.apache.activemq.artemis.core.protocol.openwire.amq.AMQSession.send(AMQSession.java:268)
at
org.apache.activemq.artemis.core.protocol.openwire.OpenWireConnection$CommandProcessor.processMessage(OpenWireConnection.java:1266)
at
org.apache.activemq.command.ActiveMQMessage.visit(ActiveMQMessage.java:768)
at
org.apache.activemq.artemis.core.protocol.openwire.OpenWireConnection.bufferReceived(OpenWireConnection.java:246)
at
org.apache.activemq.artemis.core.remoting.server.impl.RemotingServiceImpl$DelegatingBufferHandler.bufferReceived(RemotingServiceImpl.java:609)
at
org.apache.activemq.artemis.core.remoting.impl.netty.ActiveMQChannelHandler.channelRead(ActiveMQChannelHandler.java:68)
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308)
at
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294)
at
io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:265)
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308)
at
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294)
at
io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:846)
at
io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131)
at
io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511)
at
io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468)
at
io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354)
at
io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112)
at java.lang.Thread.run(Thread.java:745)
[main] 11:33:52,327 WARN [org.apache.activemq.artemis.core.server] AMQ222061:
Client connection failed, clearing up resources for session
3de3e726-4a6f-11e6-96ba-185e0fec8ce5
{noformat}
I am not sure if this Jira is a bug report or feature request. Please change it
accordingly if I guessed wrong.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)