6 Replies Latest reply on Nov 29, 2012 6:28 AM by Florin Slev

    Problem with Message Grouping Handler inside cluster (HornetQ 2.2.16)

    Florin Slev Newbie

      Hello,

       

      I wanted to run an example with message grouping inside a cluster, so I've configured each node as specified in docs:

       

      NODE 1:

       

      <grouping-handler name="my-grouping-handler">

      <type>LOCAL</type>

      <address>jms</address>

      <timeout>5000</timeout>

      </grouping-handler>

       

      NODE 2:

       

      <grouping-handler name="my-grouping-handler">

      <type>REMOTE</type>

      <address>jms</address>

      <timeout>5000</timeout>

      </grouping-handler>

       

      But when I reload the nodes, an exception is thrown on each of them:

       

      2012-11-28 14:54:14,002 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 53) JBAS014612: Operation ("add") failed - address: ([

          ("subsystem" => "messaging"),

          ("hornetq-server" => "default")

      ]): java.lang.IllegalArgumentException: No enum constant org.hornetq.core.server.group.impl.GroupingHandlerConfiguration.TYPE.undefined

          at java.lang.Enum.valueOf(Enum.java:236) [rt.jar:1.7.0_07]

          at org.hornetq.core.server.group.impl.GroupingHandlerConfiguration$TYPE.valueOf(GroupingHandlerConfiguration.java:70) [hornetq-core-2.2.16.Final.jar:2.2.16.Final (HQ_2_2_16_FINAL, 122)]

          at org.jboss.as.messaging.GroupingHandlerAdd.createGroupingHandlerConfiguration(GroupingHandlerAdd.java:119) [jboss-as-messaging-7.1.2.Final.jar:7.1.2.Final]

          at org.jboss.as.messaging.GroupingHandlerAdd.addGroupingHandlerConfig(GroupingHandlerAdd.java:113) [jboss-as-messaging-7.1.2.Final.jar:7.1.2.Final]

          at org.jboss.as.messaging.HornetQServerAdd.transformConfig(HornetQServerAdd.java:391) [jboss-as-messaging-7.1.2.Final.jar:7.1.2.Final]

          at org.jboss.as.messaging.HornetQServerAdd.access$100(HornetQServerAdd.java:138) [jboss-as-messaging-7.1.2.Final.jar:7.1.2.Final]

          at org.jboss.as.messaging.HornetQServerAdd$2.execute(HornetQServerAdd.java:206) [jboss-as-messaging-7.1.2.Final.jar:7.1.2.Final]

       

       

      I cannot find the problem.

       

      Regards.