4 Replies Latest reply on Aug 15, 2008 9:37 AM by Mark Little

    ESB 4.3 and MapMessage

    Markus Dahm Novice

      Hi,

      its seems that JBoss ESB does not support Map messages!?
      When I sent a map message to a channel I get the following message:

       [PackageJmsMessageContents] Message type MapMessageProxy not supported - Message is ignored
      WARN [JmsGatewayListener] Action class method <process> returned a null object
      


      Looking into the code reveals:


       private void setESBMessageBody(Message fromJMSMessage, org.jboss.soa.esb.message.Message toESBMessage)
       throws JMSException, IOException, MessageDeliverException
       {
       byte bodyAsBytes[] = null;
       if(fromJMSMessage instanceof TextMessage)
       {
       ...
       } else
       if(fromJMSMessage instanceof BytesMessage)
       {
       ...
       } else
       if(fromJMSMessage instanceof ObjectMessage)
       {
       ...
       } else
       {
       log.warn((new StringBuilder()).append("Message type ").append(fromJMSMessage.getClass().getSimpleName()).append(" not supported - Message is ignored").toString());
       }
       }
      


      Where is the code for MapMessage?

      Cheers
      Markus