activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brett Wooldridge <>
Subject BlobMessage 'name' attribute not transferring
Date Thu, 02 Dec 2010 01:53:42 GMT
I have a producer creating BlobMessages, and a consumer that consumes them.
producer is connected to Broker A, and the consumer to Broker B.  The two
are connected in a network.  ActiveMQ version 5.4.1.

The problem I'm experiencing is that while BlobMessages are sent and
received with
no problem, the 'name' property set by the producer on the BlobMessage is
null on
the client.

The producer looks something like this:

   BlobMessage blobMessage = jmsSession.createBlobMessage(file);


blobMessage.setStringProperty("file", file.getName());


The String property, "file", passes correctly, so it is certainly a

"workaround" for the issue, however it is still an issue.

The JavaDoc for the setName() call says:

"The name of the attachment which can be useful information if transmitting

over ActiveMQ"

I agree, it is useful.  And it seems the "official" way to send the name of

"attachment" so I would prefer to use it.

Is this a known issue?  Or am I doing something incorrectly?


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message