Invalid Message Format problem

waclaw
centeractive people
Posts: 44
Joined: 11 Sep 2012, 20:27

Invalid Message Format problem

Postby waclaw » 11 Sep 2012, 20:41

Hi,

I'm using Opensphere together with HornetQ JMS provider. When I'm trying to send MapMessage with float[] field defined using JMS Message Producer component, I get something like this:

Code: Select all

[2012-09-11 20:34:25] initialize program...
[2012-09-11 20:34:25]   destination HornetQQueue[DLQ]
[2012-09-11 20:34:25] queue sender initialized (queue = /queue/DLQ)
[2012-09-11 20:34:25] Invalid Message Format: The message contains data types not supported by your JMS provider and probably not by the JMS standard either
[2012-09-11 20:34:25] ...program JMS Message Producer stopped


other array types also fail. What's the problem?

thanks,
waclaw
urs.minder
centeractive people
Posts: 68
Joined: 06 Jun 2012, 16:45
Contact:

Re: Invalid Message Format problem

Postby urs.minder » 19 Sep 2012, 07:00

The JMS standard only allows strings, primitive data types and byte arrays inside a map message. Some JMS provider (i.e. TIBCO EMS) extend the standard and also allow nested map messages, string arrays and arrays of primitive data types.

When a message is edited (built) by the user we do not really know what JMS provider he will use to publish it. Therefore Opensphere doesn’t prevent the creation of non-standard JMS map messages.

Return to “General Opensphere Topics”

Who is online

Users browsing this forum: No registered users and 1 guest