http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/96e99e41/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v8/TransactionIdTestSupport.java
----------------------------------------------------------------------
diff --git 
a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v8/TransactionIdTestSupport.java
 
b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v8/TransactionIdTestSupport.java
index 7a696fc..d74beb6 100644
--- 
a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v8/TransactionIdTestSupport.java
+++ 
b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v8/TransactionIdTestSupport.java
@@ -1 +1,44 @@
-/**
 *
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.apache.activemq.openwire.v8;

import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;

import org.apache.activemq.openwire.*;
import org.apache.ac
 tivemq.command.*;

/**
 * Test case for the OpenWire marshalling for TransactionId
 *
 *
 * NOTE!: This file is auto generated - do not modify!
 * if you need to make a change, please see the modify the groovy scripts in the
 * under src/gram/script and then use maven openwire:generate to regenerate
 * this file.
 */
public abstract class TransactionIdTestSupport extends 
DataFileGeneratorTestSupport {

   @Override
   protected void populateObject(Object object) throws Exception {
      super.populateObject(object);
      TransactionId info = (TransactionId) object;

   }
}
\ No newline at end of file
+/**
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.activemq.openwire.v8;
+
+import java.io.DataInputStream;
+import java.io.DataOutputStream;
+import java.io.IOException;
+
+import org.apache.activemq.openwire.*;
+import org.apache.activemq.command.*;
+
+/**
+ * Test case for the OpenWire marshalling for TransactionId
+ *
+ *
+ * NOTE!: This file is auto generated - do not modify!
+ * if you need to make a change, please see the modify the groovy scripts in 
the
+ * under src/gram/script and then use maven openwire:generate to regenerate
+ * this file.
+ */
+public abstract class TransactionIdTestSupport extends 
DataFileGeneratorTestSupport {
+
+   @Override
+   protected void populateObject(Object object) throws Exception {
+      super.populateObject(object);
+      TransactionId info = (TransactionId) object;
+
+   }
+}

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/96e99e41/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v8/TransactionInfoTest.java
----------------------------------------------------------------------
diff --git 
a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v8/TransactionInfoTest.java
 
b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v8/TransactionInfoTest.java
index 089629b..a87b6b7 100644
--- 
a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v8/TransactionInfoTest.java
+++ 
b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v8/TransactionInfoTest.java
@@ -1 +1,56 @@
-/**
 *
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.apache.activemq.openwire.v8;

import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;

import org.apache.activemq.openwire.*;
import org.apache.ac
 tivemq.command.*;

/**
 * Test case for the OpenWire marshalling for TransactionInfo
 *
 *
 * NOTE!: This file is auto generated - do not modify!
 * if you need to make a change, please see the modify the groovy scripts in the
 * under src/gram/script and then use maven openwire:generate to regenerate
 * this file.
 */
public class TransactionInfoTest extends BaseCommandTestSupport {

   public static TransactionInfoTest SINGLETON = new TransactionInfoTest();

   @Override
   public Object createObject() throws Exception {
      TransactionInfo info = new TransactionInfo();
      populateObject(info);
      return info;
   }

   @Override
   protected void populateObject(Object object) throws Exception {
      super.populateObject(object);
      TransactionInfo info = (TransactionInfo) object;

      info.setConnectionId(createConnectionId("ConnectionId:1"));
      info.setTransactionId(createTransactionId("TransactionId:2"));
      info.setType((byte) 1);
   }
}
\ No newline at end of file
+/**
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.activemq.openwire.v8;
+
+import java.io.DataInputStream;
+import java.io.DataOutputStream;
+import java.io.IOException;
+
+import org.apache.activemq.openwire.*;
+import org.apache.activemq.command.*;
+
+/**
+ * Test case for the OpenWire marshalling for TransactionInfo
+ *
+ *
+ * NOTE!: This file is auto generated - do not modify!
+ * if you need to make a change, please see the modify the groovy scripts in 
the
+ * under src/gram/script and then use maven openwire:generate to regenerate
+ * this file.
+ */
+public class TransactionInfoTest extends BaseCommandTestSupport {
+
+   public static TransactionInfoTest SINGLETON = new TransactionInfoTest();
+
+   @Override
+   public Object createObject() throws Exception {
+      TransactionInfo info = new TransactionInfo();
+      populateObject(info);
+      return info;
+   }
+
+   @Override
+   protected void populateObject(Object object) throws Exception {
+      super.populateObject(object);
+      TransactionInfo info = (TransactionInfo) object;
+
+      info.setConnectionId(createConnectionId("ConnectionId:1"));
+      info.setTransactionId(createTransactionId("TransactionId:2"));
+      info.setType((byte) 1);
+   }
+}

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/96e99e41/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v8/XATransactionIdTest.java
----------------------------------------------------------------------
diff --git 
a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v8/XATransactionIdTest.java
 
b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v8/XATransactionIdTest.java
index cf40869..8e8405f 100644
--- 
a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v8/XATransactionIdTest.java
+++ 
b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v8/XATransactionIdTest.java
@@ -1 +1,56 @@
-/**
 *
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.apache.activemq.openwire.v8;

import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;

import org.apache.activemq.openwire.*;
import org.apache.ac
 tivemq.command.*;

/**
 * Test case for the OpenWire marshalling for XATransactionId
 *
 *
 * NOTE!: This file is auto generated - do not modify!
 * if you need to make a change, please see the modify the groovy scripts in the
 * under src/gram/script and then use maven openwire:generate to regenerate
 * this file.
 */
public class XATransactionIdTest extends TransactionIdTestSupport {

   public static XATransactionIdTest SINGLETON = new XATransactionIdTest();

   @Override
   public Object createObject() throws Exception {
      XATransactionId info = new XATransactionId();
      populateObject(info);
      return info;
   }

   @Override
   protected void populateObject(Object object) throws Exception {
      super.populateObject(object);
      XATransactionId info = (XATransactionId) object;

      info.setFormatId(1);
      info.setGlobalTransactionId("GlobalTransactionId:1".getBytes());
      info.setBranchQualifier("BranchQualifier:2".getBytes());
   }
}
\ No newline at end of file
+/**
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.activemq.openwire.v8;
+
+import java.io.DataInputStream;
+import java.io.DataOutputStream;
+import java.io.IOException;
+
+import org.apache.activemq.openwire.*;
+import org.apache.activemq.command.*;
+
+/**
+ * Test case for the OpenWire marshalling for XATransactionId
+ *
+ *
+ * NOTE!: This file is auto generated - do not modify!
+ * if you need to make a change, please see the modify the groovy scripts in 
the
+ * under src/gram/script and then use maven openwire:generate to regenerate
+ * this file.
+ */
+public class XATransactionIdTest extends TransactionIdTestSupport {
+
+   public static XATransactionIdTest SINGLETON = new XATransactionIdTest();
+
+   @Override
+   public Object createObject() throws Exception {
+      XATransactionId info = new XATransactionId();
+      populateObject(info);
+      return info;
+   }
+
+   @Override
+   protected void populateObject(Object object) throws Exception {
+      super.populateObject(object);
+      XATransactionId info = (XATransactionId) object;
+
+      info.setFormatId(1);
+      info.setGlobalTransactionId("GlobalTransactionId:1".getBytes());
+      info.setBranchQualifier("BranchQualifier:2".getBytes());
+   }
+}

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/96e99e41/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v9/BrokerIdTest.java
----------------------------------------------------------------------
diff --git 
a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v9/BrokerIdTest.java
 
b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v9/BrokerIdTest.java
index 7ca61a4..13c85e5 100644
--- 
a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v9/BrokerIdTest.java
+++ 
b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v9/BrokerIdTest.java
@@ -1 +1,54 @@
-/**
 *
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.apache.activemq.openwire.v9;

import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;

import org.apache.activemq.openwire.*;
import org.apache.ac
 tivemq.command.*;

/**
 * Test case for the OpenWire marshalling for BrokerId
 *
 *
 * NOTE!: This file is auto generated - do not modify!
 * if you need to make a change, please see the modify the groovy scripts in the
 * under src/gram/script and then use maven openwire:generate to regenerate
 * this file.
 */
public class BrokerIdTest extends DataFileGeneratorTestSupport {

   public static BrokerIdTest SINGLETON = new BrokerIdTest();

   @Override
   public Object createObject() throws Exception {
      BrokerId info = new BrokerId();
      populateObject(info);
      return info;
   }

   @Override
   protected void populateObject(Object object) throws Exception {
      super.populateObject(object);
      BrokerId info = (BrokerId) object;

      info.setValue("Value:1");
   }
}
\ No newline at end of file
+/**
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.activemq.openwire.v9;
+
+import java.io.DataInputStream;
+import java.io.DataOutputStream;
+import java.io.IOException;
+
+import org.apache.activemq.openwire.*;
+import org.apache.activemq.command.*;
+
+/**
+ * Test case for the OpenWire marshalling for BrokerId
+ *
+ *
+ * NOTE!: This file is auto generated - do not modify!
+ * if you need to make a change, please see the modify the groovy scripts in 
the
+ * under src/gram/script and then use maven openwire:generate to regenerate
+ * this file.
+ */
+public class BrokerIdTest extends DataFileGeneratorTestSupport {
+
+   public static BrokerIdTest SINGLETON = new BrokerIdTest();
+
+   @Override
+   public Object createObject() throws Exception {
+      BrokerId info = new BrokerId();
+      populateObject(info);
+      return info;
+   }
+
+   @Override
+   protected void populateObject(Object object) throws Exception {
+      super.populateObject(object);
+      BrokerId info = (BrokerId) object;
+
+      info.setValue("Value:1");
+   }
+}

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/96e99e41/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v9/BrokerInfoTest.java
----------------------------------------------------------------------
diff --git 
a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v9/BrokerInfoTest.java
 
b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v9/BrokerInfoTest.java
index 674e184..a9e1d17 100644
--- 
a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v9/BrokerInfoTest.java
+++ 
b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v9/BrokerInfoTest.java
@@ -1 +1,71 @@
-/**
 *
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.apache.activemq.openwire.v9;

import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;

import org.apache.activemq.openwire.*;
import org.apache.ac
 tivemq.command.*;

/**
 * Test case for the OpenWire marshalling for BrokerInfo
 *
 *
 * NOTE!: This file is auto generated - do not modify!
 * if you need to make a change, please see the modify the groovy scripts in the
 * under src/gram/script and then use maven openwire:generate to regenerate
 * this file.
 */
public class BrokerInfoTest extends BaseCommandTestSupport {

   public static BrokerInfoTest SINGLETON = new BrokerInfoTest();

   @Override
   public Object createObject() throws Exception {
      BrokerInfo info = new BrokerInfo();
      populateObject(info);
      return info;
   }

   @Override
   protected void populateObject(Object object) throws Exception {
      super.populateObject(object);
      BrokerInfo info = (BrokerInfo) object;

      info.setBrokerId(createBrokerId("BrokerId:1"));
      info.setBrokerURL("BrokerURL:2");
      {
         BrokerInfo value[] = new BrokerInfo[0];
         for (int i = 0; i < 0; i++) {
            value[i] = createBrokerInfo("
 PeerBrokerInfos:3");
         }
         info.setPeerBrokerInfos(value);
      }
      info.setBrokerName("BrokerName:4");
      info.setSlaveBroker(true);
      info.setMasterBroker(false);
      info.setFaultTolerantConfiguration(true);
      info.setDuplexConnection(false);
      info.setNetworkConnection(true);
      info.setConnectionId(1);
      info.setBrokerUploadUrl("BrokerUploadUrl:5");
      info.setNetworkProperties("NetworkProperties:6");
   }
}
\ No newline at end of file
+/**
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.activemq.openwire.v9;
+
+import java.io.DataInputStream;
+import java.io.DataOutputStream;
+import java.io.IOException;
+
+import org.apache.activemq.openwire.*;
+import org.apache.activemq.command.*;
+
+/**
+ * Test case for the OpenWire marshalling for BrokerInfo
+ *
+ *
+ * NOTE!: This file is auto generated - do not modify!
+ * if you need to make a change, please see the modify the groovy scripts in 
the
+ * under src/gram/script and then use maven openwire:generate to regenerate
+ * this file.
+ */
+public class BrokerInfoTest extends BaseCommandTestSupport {
+
+   public static BrokerInfoTest SINGLETON = new BrokerInfoTest();
+
+   @Override
+   public Object createObject() throws Exception {
+      BrokerInfo info = new BrokerInfo();
+      populateObject(info);
+      return info;
+   }
+
+   @Override
+   protected void populateObject(Object object) throws Exception {
+      super.populateObject(object);
+      BrokerInfo info = (BrokerInfo) object;
+
+      info.setBrokerId(createBrokerId("BrokerId:1"));
+      info.setBrokerURL("BrokerURL:2");
+      {
+         BrokerInfo value[] = new BrokerInfo[0];
+         for (int i = 0; i < 0; i++) {
+            value[i] = createBrokerInfo("PeerBrokerInfos:3");
+         }
+         info.setPeerBrokerInfos(value);
+      }
+      info.setBrokerName("BrokerName:4");
+      info.setSlaveBroker(true);
+      info.setMasterBroker(false);
+      info.setFaultTolerantConfiguration(true);
+      info.setDuplexConnection(false);
+      info.setNetworkConnection(true);
+      info.setConnectionId(1);
+      info.setBrokerUploadUrl("BrokerUploadUrl:5");
+      info.setNetworkProperties("NetworkProperties:6");
+   }
+}

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/96e99e41/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v9/ConnectionControlTest.java
----------------------------------------------------------------------
diff --git 
a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v9/ConnectionControlTest.java
 
b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v9/ConnectionControlTest.java
index 6940077..5c6b847 100644
--- 
a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v9/ConnectionControlTest.java
+++ 
b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v9/ConnectionControlTest.java
@@ -1 +1,62 @@
-/**
 *
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.apache.activemq.openwire.v9;

import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;

import org.apache.activemq.openwire.*;
import org.apache.ac
 tivemq.command.*;

/**
 * Test case for the OpenWire marshalling for ConnectionControl
 *
 *
 * NOTE!: This file is auto generated - do not modify!
 * if you need to make a change, please see the modify the groovy scripts in the
 * under src/gram/script and then use maven openwire:generate to regenerate
 * this file.
 */
public class ConnectionControlTest extends BaseCommandTestSupport {

   public static ConnectionControlTest SINGLETON = new ConnectionControlTest();

   @Override
   public Object createObject() throws Exception {
      ConnectionControl info = new ConnectionControl();
      populateObject(info);
      return info;
   }

   @Override
   protected void populateObject(Object object) throws Exception {
      super.populateObject(object);
      ConnectionControl info = (ConnectionControl) object;

      info.setClose(true);
      info.setExit(false);
      info.setFaultTolerant(true);
      info.setResume(false);
      info.setSuspend(true);
      info.setConnectedBroke
 rs("ConnectedBrokers:1");
      info.setReconnectTo("ReconnectTo:2");
      info.setRebalanceConnection(false);
      info.setToken("Token:3".getBytes());
   }
}
\ No newline at end of file
+/**
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.activemq.openwire.v9;
+
+import java.io.DataInputStream;
+import java.io.DataOutputStream;
+import java.io.IOException;
+
+import org.apache.activemq.openwire.*;
+import org.apache.activemq.command.*;
+
+/**
+ * Test case for the OpenWire marshalling for ConnectionControl
+ *
+ *
+ * NOTE!: This file is auto generated - do not modify!
+ * if you need to make a change, please see the modify the groovy scripts in 
the
+ * under src/gram/script and then use maven openwire:generate to regenerate
+ * this file.
+ */
+public class ConnectionControlTest extends BaseCommandTestSupport {
+
+   public static ConnectionControlTest SINGLETON = new ConnectionControlTest();
+
+   @Override
+   public Object createObject() throws Exception {
+      ConnectionControl info = new ConnectionControl();
+      populateObject(info);
+      return info;
+   }
+
+   @Override
+   protected void populateObject(Object object) throws Exception {
+      super.populateObject(object);
+      ConnectionControl info = (ConnectionControl) object;
+
+      info.setClose(true);
+      info.setExit(false);
+      info.setFaultTolerant(true);
+      info.setResume(false);
+      info.setSuspend(true);
+      info.setConnectedBrokers("ConnectedBrokers:1");
+      info.setReconnectTo("ReconnectTo:2");
+      info.setRebalanceConnection(false);
+      info.setToken("Token:3".getBytes());
+   }
+}

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/96e99e41/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v9/ConnectionErrorTest.java
----------------------------------------------------------------------
diff --git 
a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v9/ConnectionErrorTest.java
 
b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v9/ConnectionErrorTest.java
index 27fca55..d4337f7 100644
--- 
a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v9/ConnectionErrorTest.java
+++ 
b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v9/ConnectionErrorTest.java
@@ -1 +1,55 @@
-/**
 *
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.apache.activemq.openwire.v9;

import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;

import org.apache.activemq.openwire.*;
import org.apache.ac
 tivemq.command.*;

/**
 * Test case for the OpenWire marshalling for ConnectionError
 *
 *
 * NOTE!: This file is auto generated - do not modify!
 * if you need to make a change, please see the modify the groovy scripts in the
 * under src/gram/script and then use maven openwire:generate to regenerate
 * this file.
 */
public class ConnectionErrorTest extends BaseCommandTestSupport {

   public static ConnectionErrorTest SINGLETON = new ConnectionErrorTest();

   @Override
   public Object createObject() throws Exception {
      ConnectionError info = new ConnectionError();
      populateObject(info);
      return info;
   }

   @Override
   protected void populateObject(Object object) throws Exception {
      super.populateObject(object);
      ConnectionError info = (ConnectionError) object;

      info.setException(createThrowable("Exception:1"));
      info.setConnectionId(createConnectionId("ConnectionId:2"));
   }
}
\ No newline at end of file
+/**
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.activemq.openwire.v9;
+
+import java.io.DataInputStream;
+import java.io.DataOutputStream;
+import java.io.IOException;
+
+import org.apache.activemq.openwire.*;
+import org.apache.activemq.command.*;
+
+/**
+ * Test case for the OpenWire marshalling for ConnectionError
+ *
+ *
+ * NOTE!: This file is auto generated - do not modify!
+ * if you need to make a change, please see the modify the groovy scripts in 
the
+ * under src/gram/script and then use maven openwire:generate to regenerate
+ * this file.
+ */
+public class ConnectionErrorTest extends BaseCommandTestSupport {
+
+   public static ConnectionErrorTest SINGLETON = new ConnectionErrorTest();
+
+   @Override
+   public Object createObject() throws Exception {
+      ConnectionError info = new ConnectionError();
+      populateObject(info);
+      return info;
+   }
+
+   @Override
+   protected void populateObject(Object object) throws Exception {
+      super.populateObject(object);
+      ConnectionError info = (ConnectionError) object;
+
+      info.setException(createThrowable("Exception:1"));
+      info.setConnectionId(createConnectionId("ConnectionId:2"));
+   }
+}

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/96e99e41/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v9/ConnectionIdTest.java
----------------------------------------------------------------------
diff --git 
a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v9/ConnectionIdTest.java
 
b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v9/ConnectionIdTest.java
index 8634d42..7efbaf8 100644
--- 
a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v9/ConnectionIdTest.java
+++ 
b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v9/ConnectionIdTest.java
@@ -1 +1,54 @@
-/**
 *
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.apache.activemq.openwire.v9;

import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;

import org.apache.activemq.openwire.*;
import org.apache.ac
 tivemq.command.*;

/**
 * Test case for the OpenWire marshalling for ConnectionId
 *
 *
 * NOTE!: This file is auto generated - do not modify!
 * if you need to make a change, please see the modify the groovy scripts in the
 * under src/gram/script and then use maven openwire:generate to regenerate
 * this file.
 */
public class ConnectionIdTest extends DataFileGeneratorTestSupport {

   public static ConnectionIdTest SINGLETON = new ConnectionIdTest();

   @Override
   public Object createObject() throws Exception {
      ConnectionId info = new ConnectionId();
      populateObject(info);
      return info;
   }

   @Override
   protected void populateObject(Object object) throws Exception {
      super.populateObject(object);
      ConnectionId info = (ConnectionId) object;

      info.setValue("Value:1");
   }
}
\ No newline at end of file
+/**
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.activemq.openwire.v9;
+
+import java.io.DataInputStream;
+import java.io.DataOutputStream;
+import java.io.IOException;
+
+import org.apache.activemq.openwire.*;
+import org.apache.activemq.command.*;
+
+/**
+ * Test case for the OpenWire marshalling for ConnectionId
+ *
+ *
+ * NOTE!: This file is auto generated - do not modify!
+ * if you need to make a change, please see the modify the groovy scripts in 
the
+ * under src/gram/script and then use maven openwire:generate to regenerate
+ * this file.
+ */
+public class ConnectionIdTest extends DataFileGeneratorTestSupport {
+
+   public static ConnectionIdTest SINGLETON = new ConnectionIdTest();
+
+   @Override
+   public Object createObject() throws Exception {
+      ConnectionId info = new ConnectionId();
+      populateObject(info);
+      return info;
+   }
+
+   @Override
+   protected void populateObject(Object object) throws Exception {
+      super.populateObject(object);
+      ConnectionId info = (ConnectionId) object;
+
+      info.setValue("Value:1");
+   }
+}

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/96e99e41/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v9/ConnectionInfoTest.java
----------------------------------------------------------------------
diff --git 
a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v9/ConnectionInfoTest.java
 
b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v9/ConnectionInfoTest.java
index 900cdc0..917b64a 100644
--- 
a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v9/ConnectionInfoTest.java
+++ 
b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v9/ConnectionInfoTest.java
@@ -1 +1,70 @@
-/**
 *
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.apache.activemq.openwire.v9;

import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;

import org.apache.activemq.openwire.*;
import org.apache.ac
 tivemq.command.*;

/**
 * Test case for the OpenWire marshalling for ConnectionInfo
 *
 *
 * NOTE!: This file is auto generated - do not modify!
 * if you need to make a change, please see the modify the groovy scripts in the
 * under src/gram/script and then use maven openwire:generate to regenerate
 * this file.
 */
public class ConnectionInfoTest extends BaseCommandTestSupport {

   public static ConnectionInfoTest SINGLETON = new ConnectionInfoTest();

   @Override
   public Object createObject() throws Exception {
      ConnectionInfo info = new ConnectionInfo();
      populateObject(info);
      return info;
   }

   @Override
   protected void populateObject(Object object) throws Exception {
      super.populateObject(object);
      ConnectionInfo info = (ConnectionInfo) object;

      info.setConnectionId(createConnectionId("ConnectionId:1"));
      info.setClientId("ClientId:2");
      info.setPassword("Password:3");
      info.setUserName("UserName:4");
      {
         Br
 okerId value[] = new BrokerId[2];
         for (int i = 0; i < 2; i++) {
            value[i] = createBrokerId("BrokerPath:5");
         }
         info.setBrokerPath(value);
      }
      info.setBrokerMasterConnector(true);
      info.setManageable(false);
      info.setClientMaster(true);
      info.setFaultTolerant(false);
      info.setFailoverReconnect(true);
      info.setClientIp("ClientIp:6");
   }
}
\ No newline at end of file
+/**
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.activemq.openwire.v9;
+
+import java.io.DataInputStream;
+import java.io.DataOutputStream;
+import java.io.IOException;
+
+import org.apache.activemq.openwire.*;
+import org.apache.activemq.command.*;
+
+/**
+ * Test case for the OpenWire marshalling for ConnectionInfo
+ *
+ *
+ * NOTE!: This file is auto generated - do not modify!
+ * if you need to make a change, please see the modify the groovy scripts in 
the
+ * under src/gram/script and then use maven openwire:generate to regenerate
+ * this file.
+ */
+public class ConnectionInfoTest extends BaseCommandTestSupport {
+
+   public static ConnectionInfoTest SINGLETON = new ConnectionInfoTest();
+
+   @Override
+   public Object createObject() throws Exception {
+      ConnectionInfo info = new ConnectionInfo();
+      populateObject(info);
+      return info;
+   }
+
+   @Override
+   protected void populateObject(Object object) throws Exception {
+      super.populateObject(object);
+      ConnectionInfo info = (ConnectionInfo) object;
+
+      info.setConnectionId(createConnectionId("ConnectionId:1"));
+      info.setClientId("ClientId:2");
+      info.setPassword("Password:3");
+      info.setUserName("UserName:4");
+      {
+         BrokerId value[] = new BrokerId[2];
+         for (int i = 0; i < 2; i++) {
+            value[i] = createBrokerId("BrokerPath:5");
+         }
+         info.setBrokerPath(value);
+      }
+      info.setBrokerMasterConnector(true);
+      info.setManageable(false);
+      info.setClientMaster(true);
+      info.setFaultTolerant(false);
+      info.setFailoverReconnect(true);
+      info.setClientIp("ClientIp:6");
+   }
+}

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/96e99e41/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v9/ConsumerControlTest.java
----------------------------------------------------------------------
diff --git 
a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v9/ConsumerControlTest.java
 
b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v9/ConsumerControlTest.java
index 5e7ec1f..6f018f8 100644
--- 
a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v9/ConsumerControlTest.java
+++ 
b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v9/ConsumerControlTest.java
@@ -1 +1,60 @@
-/**
 *
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.apache.activemq.openwire.v9;

import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;

import org.apache.activemq.openwire.*;
import org.apache.ac
 tivemq.command.*;

/**
 * Test case for the OpenWire marshalling for ConsumerControl
 *
 *
 * NOTE!: This file is auto generated - do not modify!
 * if you need to make a change, please see the modify the groovy scripts in the
 * under src/gram/script and then use maven openwire:generate to regenerate
 * this file.
 */
public class ConsumerControlTest extends BaseCommandTestSupport {

   public static ConsumerControlTest SINGLETON = new ConsumerControlTest();

   @Override
   public Object createObject() throws Exception {
      ConsumerControl info = new ConsumerControl();
      populateObject(info);
      return info;
   }

   @Override
   protected void populateObject(Object object) throws Exception {
      super.populateObject(object);
      ConsumerControl info = (ConsumerControl) object;

      info.setDestination(createActiveMQDestination("Destination:1"));
      info.setClose(true);
      info.setConsumerId(createConsumerId("ConsumerId:2"));
      info.setPrefetch(1);
      
 info.setFlush(false);
      info.setStart(true);
      info.setStop(false);
   }
}
\ No newline at end of file
+/**
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.activemq.openwire.v9;
+
+import java.io.DataInputStream;
+import java.io.DataOutputStream;
+import java.io.IOException;
+
+import org.apache.activemq.openwire.*;
+import org.apache.activemq.command.*;
+
+/**
+ * Test case for the OpenWire marshalling for ConsumerControl
+ *
+ *
+ * NOTE!: This file is auto generated - do not modify!
+ * if you need to make a change, please see the modify the groovy scripts in 
the
+ * under src/gram/script and then use maven openwire:generate to regenerate
+ * this file.
+ */
+public class ConsumerControlTest extends BaseCommandTestSupport {
+
+   public static ConsumerControlTest SINGLETON = new ConsumerControlTest();
+
+   @Override
+   public Object createObject() throws Exception {
+      ConsumerControl info = new ConsumerControl();
+      populateObject(info);
+      return info;
+   }
+
+   @Override
+   protected void populateObject(Object object) throws Exception {
+      super.populateObject(object);
+      ConsumerControl info = (ConsumerControl) object;
+
+      info.setDestination(createActiveMQDestination("Destination:1"));
+      info.setClose(true);
+      info.setConsumerId(createConsumerId("ConsumerId:2"));
+      info.setPrefetch(1);
+      info.setFlush(false);
+      info.setStart(true);
+      info.setStop(false);
+   }
+}

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/96e99e41/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v9/ConsumerIdTest.java
----------------------------------------------------------------------
diff --git 
a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v9/ConsumerIdTest.java
 
b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v9/ConsumerIdTest.java
index 036a130..53d75ef 100644
--- 
a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v9/ConsumerIdTest.java
+++ 
b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v9/ConsumerIdTest.java
@@ -1 +1,56 @@
-/**
 *
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.apache.activemq.openwire.v9;

import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;

import org.apache.activemq.openwire.*;
import org.apache.ac
 tivemq.command.*;

/**
 * Test case for the OpenWire marshalling for ConsumerId
 *
 *
 * NOTE!: This file is auto generated - do not modify!
 * if you need to make a change, please see the modify the groovy scripts in the
 * under src/gram/script and then use maven openwire:generate to regenerate
 * this file.
 */
public class ConsumerIdTest extends DataFileGeneratorTestSupport {

   public static ConsumerIdTest SINGLETON = new ConsumerIdTest();

   @Override
   public Object createObject() throws Exception {
      ConsumerId info = new ConsumerId();
      populateObject(info);
      return info;
   }

   @Override
   protected void populateObject(Object object) throws Exception {
      super.populateObject(object);
      ConsumerId info = (ConsumerId) object;

      info.setConnectionId("ConnectionId:1");
      info.setSessionId(1);
      info.setValue(2);
   }
}
\ No newline at end of file
+/**
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.activemq.openwire.v9;
+
+import java.io.DataInputStream;
+import java.io.DataOutputStream;
+import java.io.IOException;
+
+import org.apache.activemq.openwire.*;
+import org.apache.activemq.command.*;
+
+/**
+ * Test case for the OpenWire marshalling for ConsumerId
+ *
+ *
+ * NOTE!: This file is auto generated - do not modify!
+ * if you need to make a change, please see the modify the groovy scripts in 
the
+ * under src/gram/script and then use maven openwire:generate to regenerate
+ * this file.
+ */
+public class ConsumerIdTest extends DataFileGeneratorTestSupport {
+
+   public static ConsumerIdTest SINGLETON = new ConsumerIdTest();
+
+   @Override
+   public Object createObject() throws Exception {
+      ConsumerId info = new ConsumerId();
+      populateObject(info);
+      return info;
+   }
+
+   @Override
+   protected void populateObject(Object object) throws Exception {
+      super.populateObject(object);
+      ConsumerId info = (ConsumerId) object;
+
+      info.setConnectionId("ConnectionId:1");
+      info.setSessionId(1);
+      info.setValue(2);
+   }
+}

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/96e99e41/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v9/ConsumerInfoTest.java
----------------------------------------------------------------------
diff --git 
a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v9/ConsumerInfoTest.java
 
b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v9/ConsumerInfoTest.java
index 8917fa7..f846ba9 100644
--- 
a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v9/ConsumerInfoTest.java
+++ 
b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v9/ConsumerInfoTest.java
@@ -1 +1,83 @@
-/**
 *
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.apache.activemq.openwire.v9;

import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;

import org.apache.activemq.openwire.*;
import org.apache.ac
 tivemq.command.*;

/**
 * Test case for the OpenWire marshalling for ConsumerInfo
 *
 *
 * NOTE!: This file is auto generated - do not modify!
 * if you need to make a change, please see the modify the groovy scripts in the
 * under src/gram/script and then use maven openwire:generate to regenerate
 * this file.
 */
public class ConsumerInfoTest extends BaseCommandTestSupport {

   public static ConsumerInfoTest SINGLETON = new ConsumerInfoTest();

   @Override
   public Object createObject() throws Exception {
      ConsumerInfo info = new ConsumerInfo();
      populateObject(info);
      return info;
   }

   @Override
   protected void populateObject(Object object) throws Exception {
      super.populateObject(object);
      ConsumerInfo info = (ConsumerInfo) object;

      info.setConsumerId(createConsumerId("ConsumerId:1"));
      info.setBrowser(true);
      info.setDestination(createActiveMQDestination("Destination:2"));
      info.setPrefetchSize(1);
      info.setMaximumPen
 dingMessageLimit(2);
      info.setDispatchAsync(false);
      info.setSelector("Selector:3");
      info.setSubscriptionName("SubscriptionName:4");
      info.setNoLocal(true);
      info.setExclusive(false);
      info.setRetroactive(true);
      info.setPriority((byte) 1);
      {
         BrokerId value[] = new BrokerId[2];
         for (int i = 0; i < 2; i++) {
            value[i] = createBrokerId("BrokerPath:5");
         }
         info.setBrokerPath(value);
      }
      
info.setAdditionalPredicate(createBooleanExpression("AdditionalPredicate:6"));
      info.setNetworkSubscription(false);
      info.setOptimizedAcknowledge(true);
      info.setNoRangeAcks(false);
      {
         ConsumerId value[] = new ConsumerId[2];
         for (int i = 0; i < 2; i++) {
            value[i] = createConsumerId("NetworkConsumerPath:7");
         }
         info.setNetworkConsumerPath(value);
      }
   }
}
\ No newline at end of file
+/**
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.activemq.openwire.v9;
+
+import java.io.DataInputStream;
+import java.io.DataOutputStream;
+import java.io.IOException;
+
+import org.apache.activemq.openwire.*;
+import org.apache.activemq.command.*;
+
+/**
+ * Test case for the OpenWire marshalling for ConsumerInfo
+ *
+ *
+ * NOTE!: This file is auto generated - do not modify!
+ * if you need to make a change, please see the modify the groovy scripts in 
the
+ * under src/gram/script and then use maven openwire:generate to regenerate
+ * this file.
+ */
+public class ConsumerInfoTest extends BaseCommandTestSupport {
+
+   public static ConsumerInfoTest SINGLETON = new ConsumerInfoTest();
+
+   @Override
+   public Object createObject() throws Exception {
+      ConsumerInfo info = new ConsumerInfo();
+      populateObject(info);
+      return info;
+   }
+
+   @Override
+   protected void populateObject(Object object) throws Exception {
+      super.populateObject(object);
+      ConsumerInfo info = (ConsumerInfo) object;
+
+      info.setConsumerId(createConsumerId("ConsumerId:1"));
+      info.setBrowser(true);
+      info.setDestination(createActiveMQDestination("Destination:2"));
+      info.setPrefetchSize(1);
+      info.setMaximumPendingMessageLimit(2);
+      info.setDispatchAsync(false);
+      info.setSelector("Selector:3");
+      info.setSubscriptionName("SubscriptionName:4");
+      info.setNoLocal(true);
+      info.setExclusive(false);
+      info.setRetroactive(true);
+      info.setPriority((byte) 1);
+      {
+         BrokerId value[] = new BrokerId[2];
+         for (int i = 0; i < 2; i++) {
+            value[i] = createBrokerId("BrokerPath:5");
+         }
+         info.setBrokerPath(value);
+      }
+      
info.setAdditionalPredicate(createBooleanExpression("AdditionalPredicate:6"));
+      info.setNetworkSubscription(false);
+      info.setOptimizedAcknowledge(true);
+      info.setNoRangeAcks(false);
+      {
+         ConsumerId value[] = new ConsumerId[2];
+         for (int i = 0; i < 2; i++) {
+            value[i] = createConsumerId("NetworkConsumerPath:7");
+         }
+         info.setNetworkConsumerPath(value);
+      }
+   }
+}

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/96e99e41/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v9/ControlCommandTest.java
----------------------------------------------------------------------
diff --git 
a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v9/ControlCommandTest.java
 
b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v9/ControlCommandTest.java
index 44aa7b1..116725e 100644
--- 
a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v9/ControlCommandTest.java
+++ 
b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v9/ControlCommandTest.java
@@ -1 +1,54 @@
-/**
 *
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.apache.activemq.openwire.v9;

import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;

import org.apache.activemq.openwire.*;
import org.apache.ac
 tivemq.command.*;

/**
 * Test case for the OpenWire marshalling for ControlCommand
 *
 *
 * NOTE!: This file is auto generated - do not modify!
 * if you need to make a change, please see the modify the groovy scripts in the
 * under src/gram/script and then use maven openwire:generate to regenerate
 * this file.
 */
public class ControlCommandTest extends BaseCommandTestSupport {

   public static ControlCommandTest SINGLETON = new ControlCommandTest();

   @Override
   public Object createObject() throws Exception {
      ControlCommand info = new ControlCommand();
      populateObject(info);
      return info;
   }

   @Override
   protected void populateObject(Object object) throws Exception {
      super.populateObject(object);
      ControlCommand info = (ControlCommand) object;

      info.setCommand("Command:1");
   }
}
\ No newline at end of file
+/**
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.activemq.openwire.v9;
+
+import java.io.DataInputStream;
+import java.io.DataOutputStream;
+import java.io.IOException;
+
+import org.apache.activemq.openwire.*;
+import org.apache.activemq.command.*;
+
+/**
+ * Test case for the OpenWire marshalling for ControlCommand
+ *
+ *
+ * NOTE!: This file is auto generated - do not modify!
+ * if you need to make a change, please see the modify the groovy scripts in 
the
+ * under src/gram/script and then use maven openwire:generate to regenerate
+ * this file.
+ */
+public class ControlCommandTest extends BaseCommandTestSupport {
+
+   public static ControlCommandTest SINGLETON = new ControlCommandTest();
+
+   @Override
+   public Object createObject() throws Exception {
+      ControlCommand info = new ControlCommand();
+      populateObject(info);
+      return info;
+   }
+
+   @Override
+   protected void populateObject(Object object) throws Exception {
+      super.populateObject(object);
+      ControlCommand info = (ControlCommand) object;
+
+      info.setCommand("Command:1");
+   }
+}

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/96e99e41/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v9/DataArrayResponseTest.java
----------------------------------------------------------------------
diff --git 
a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v9/DataArrayResponseTest.java
 
b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v9/DataArrayResponseTest.java
index a125500..93235f3 100644
--- 
a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v9/DataArrayResponseTest.java
+++ 
b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v9/DataArrayResponseTest.java
@@ -1 +1,60 @@
-/**
 *
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.apache.activemq.openwire.v9;

import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;

import org.apache.activemq.openwire.*;
import org.apache.ac
 tivemq.command.*;

/**
 * Test case for the OpenWire marshalling for DataArrayResponse
 *
 *
 * NOTE!: This file is auto generated - do not modify!
 * if you need to make a change, please see the modify the groovy scripts in the
 * under src/gram/script and then use maven openwire:generate to regenerate
 * this file.
 */
public class DataArrayResponseTest extends ResponseTest {

   public static DataArrayResponseTest SINGLETON = new DataArrayResponseTest();

   @Override
   public Object createObject() throws Exception {
      DataArrayResponse info = new DataArrayResponse();
      populateObject(info);
      return info;
   }

   @Override
   protected void populateObject(Object object) throws Exception {
      super.populateObject(object);
      DataArrayResponse info = (DataArrayResponse) object;

      {
         DataStructure value[] = new DataStructure[2];
         for (int i = 0; i < 2; i++) {
            value[i] = createDataStructure("Data:1");
         }
         info.setD
 ata(value);
      }
   }
}
\ No newline at end of file
+/**
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.activemq.openwire.v9;
+
+import java.io.DataInputStream;
+import java.io.DataOutputStream;
+import java.io.IOException;
+
+import org.apache.activemq.openwire.*;
+import org.apache.activemq.command.*;
+
+/**
+ * Test case for the OpenWire marshalling for DataArrayResponse
+ *
+ *
+ * NOTE!: This file is auto generated - do not modify!
+ * if you need to make a change, please see the modify the groovy scripts in 
the
+ * under src/gram/script and then use maven openwire:generate to regenerate
+ * this file.
+ */
+public class DataArrayResponseTest extends ResponseTest {
+
+   public static DataArrayResponseTest SINGLETON = new DataArrayResponseTest();
+
+   @Override
+   public Object createObject() throws Exception {
+      DataArrayResponse info = new DataArrayResponse();
+      populateObject(info);
+      return info;
+   }
+
+   @Override
+   protected void populateObject(Object object) throws Exception {
+      super.populateObject(object);
+      DataArrayResponse info = (DataArrayResponse) object;
+
+      {
+         DataStructure value[] = new DataStructure[2];
+         for (int i = 0; i < 2; i++) {
+            value[i] = createDataStructure("Data:1");
+         }
+         info.setData(value);
+      }
+   }
+}

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/96e99e41/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v9/DataResponseTest.java
----------------------------------------------------------------------
diff --git 
a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v9/DataResponseTest.java
 
b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v9/DataResponseTest.java
index c259993..f2d6a7a 100644
--- 
a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v9/DataResponseTest.java
+++ 
b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v9/DataResponseTest.java
@@ -1 +1,54 @@
-/**
 *
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.apache.activemq.openwire.v9;

import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;

import org.apache.activemq.openwire.*;
import org.apache.ac
 tivemq.command.*;

/**
 * Test case for the OpenWire marshalling for DataResponse
 *
 *
 * NOTE!: This file is auto generated - do not modify!
 * if you need to make a change, please see the modify the groovy scripts in the
 * under src/gram/script and then use maven openwire:generate to regenerate
 * this file.
 */
public class DataResponseTest extends ResponseTest {

   public static DataResponseTest SINGLETON = new DataResponseTest();

   @Override
   public Object createObject() throws Exception {
      DataResponse info = new DataResponse();
      populateObject(info);
      return info;
   }

   @Override
   protected void populateObject(Object object) throws Exception {
      super.populateObject(object);
      DataResponse info = (DataResponse) object;

      info.setData(createDataStructure("Data:1"));
   }
}
\ No newline at end of file
+/**
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.activemq.openwire.v9;
+
+import java.io.DataInputStream;
+import java.io.DataOutputStream;
+import java.io.IOException;
+
+import org.apache.activemq.openwire.*;
+import org.apache.activemq.command.*;
+
+/**
+ * Test case for the OpenWire marshalling for DataResponse
+ *
+ *
+ * NOTE!: This file is auto generated - do not modify!
+ * if you need to make a change, please see the modify the groovy scripts in 
the
+ * under src/gram/script and then use maven openwire:generate to regenerate
+ * this file.
+ */
+public class DataResponseTest extends ResponseTest {
+
+   public static DataResponseTest SINGLETON = new DataResponseTest();
+
+   @Override
+   public Object createObject() throws Exception {
+      DataResponse info = new DataResponse();
+      populateObject(info);
+      return info;
+   }
+
+   @Override
+   protected void populateObject(Object object) throws Exception {
+      super.populateObject(object);
+      DataResponse info = (DataResponse) object;
+
+      info.setData(createDataStructure("Data:1"));
+   }
+}

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/96e99e41/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v9/DestinationInfoTest.java
----------------------------------------------------------------------
diff --git 
a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v9/DestinationInfoTest.java
 
b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v9/DestinationInfoTest.java
index 0cb46d3..b188254 100644
--- 
a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v9/DestinationInfoTest.java
+++ 
b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v9/DestinationInfoTest.java
@@ -1 +1,64 @@
-/**
 *
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.apache.activemq.openwire.v9;

import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;

import org.apache.activemq.openwire.*;
import org.apache.ac
 tivemq.command.*;

/**
 * Test case for the OpenWire marshalling for DestinationInfo
 *
 *
 * NOTE!: This file is auto generated - do not modify!
 * if you need to make a change, please see the modify the groovy scripts in the
 * under src/gram/script and then use maven openwire:generate to regenerate
 * this file.
 */
public class DestinationInfoTest extends BaseCommandTestSupport {

   public static DestinationInfoTest SINGLETON = new DestinationInfoTest();

   @Override
   public Object createObject() throws Exception {
      DestinationInfo info = new DestinationInfo();
      populateObject(info);
      return info;
   }

   @Override
   protected void populateObject(Object object) throws Exception {
      super.populateObject(object);
      DestinationInfo info = (DestinationInfo) object;

      info.setConnectionId(createConnectionId("ConnectionId:1"));
      info.setDestination(createActiveMQDestination("Destination:2"));
      info.setOperationType((byte) 1);
      info.setT
 imeout(1);
      {
         BrokerId value[] = new BrokerId[2];
         for (int i = 0; i < 2; i++) {
            value[i] = createBrokerId("BrokerPath:3");
         }
         info.setBrokerPath(value);
      }
   }
}
\ No newline at end of file
+/**
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.activemq.openwire.v9;
+
+import java.io.DataInputStream;
+import java.io.DataOutputStream;
+import java.io.IOException;
+
+import org.apache.activemq.openwire.*;
+import org.apache.activemq.command.*;
+
+/**
+ * Test case for the OpenWire marshalling for DestinationInfo
+ *
+ *
+ * NOTE!: This file is auto generated - do not modify!
+ * if you need to make a change, please see the modify the groovy scripts in 
the
+ * under src/gram/script and then use maven openwire:generate to regenerate
+ * this file.
+ */
+public class DestinationInfoTest extends BaseCommandTestSupport {
+
+   public static DestinationInfoTest SINGLETON = new DestinationInfoTest();
+
+   @Override
+   public Object createObject() throws Exception {
+      DestinationInfo info = new DestinationInfo();
+      populateObject(info);
+      return info;
+   }
+
+   @Override
+   protected void populateObject(Object object) throws Exception {
+      super.populateObject(object);
+      DestinationInfo info = (DestinationInfo) object;
+
+      info.setConnectionId(createConnectionId("ConnectionId:1"));
+      info.setDestination(createActiveMQDestination("Destination:2"));
+      info.setOperationType((byte) 1);
+      info.setTimeout(1);
+      {
+         BrokerId value[] = new BrokerId[2];
+         for (int i = 0; i < 2; i++) {
+            value[i] = createBrokerId("BrokerPath:3");
+         }
+         info.setBrokerPath(value);
+      }
+   }
+}

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/96e99e41/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v9/DiscoveryEventTest.java
----------------------------------------------------------------------
diff --git 
a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v9/DiscoveryEventTest.java
 
b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v9/DiscoveryEventTest.java
index a39d8f5..b3198d2 100644
--- 
a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v9/DiscoveryEventTest.java
+++ 
b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v9/DiscoveryEventTest.java
@@ -1 +1,55 @@
-/**
 *
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.apache.activemq.openwire.v9;

import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;

import org.apache.activemq.openwire.*;
import org.apache.ac
 tivemq.command.*;

/**
 * Test case for the OpenWire marshalling for DiscoveryEvent
 *
 *
 * NOTE!: This file is auto generated - do not modify!
 * if you need to make a change, please see the modify the groovy scripts in the
 * under src/gram/script and then use maven openwire:generate to regenerate
 * this file.
 */
public class DiscoveryEventTest extends DataFileGeneratorTestSupport {

   public static DiscoveryEventTest SINGLETON = new DiscoveryEventTest();

   @Override
   public Object createObject() throws Exception {
      DiscoveryEvent info = new DiscoveryEvent();
      populateObject(info);
      return info;
   }

   @Override
   protected void populateObject(Object object) throws Exception {
      super.populateObject(object);
      DiscoveryEvent info = (DiscoveryEvent) object;

      info.setServiceName("ServiceName:1");
      info.setBrokerName("BrokerName:2");
   }
}
\ No newline at end of file
+/**
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.activemq.openwire.v9;
+
+import java.io.DataInputStream;
+import java.io.DataOutputStream;
+import java.io.IOException;
+
+import org.apache.activemq.openwire.*;
+import org.apache.activemq.command.*;
+
+/**
+ * Test case for the OpenWire marshalling for DiscoveryEvent
+ *
+ *
+ * NOTE!: This file is auto generated - do not modify!
+ * if you need to make a change, please see the modify the groovy scripts in 
the
+ * under src/gram/script and then use maven openwire:generate to regenerate
+ * this file.
+ */
+public class DiscoveryEventTest extends DataFileGeneratorTestSupport {
+
+   public static DiscoveryEventTest SINGLETON = new DiscoveryEventTest();
+
+   @Override
+   public Object createObject() throws Exception {
+      DiscoveryEvent info = new DiscoveryEvent();
+      populateObject(info);
+      return info;
+   }
+
+   @Override
+   protected void populateObject(Object object) throws Exception {
+      super.populateObject(object);
+      DiscoveryEvent info = (DiscoveryEvent) object;
+
+      info.setServiceName("ServiceName:1");
+      info.setBrokerName("BrokerName:2");
+   }
+}

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/96e99e41/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v9/ExceptionResponseTest.java
----------------------------------------------------------------------
diff --git 
a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v9/ExceptionResponseTest.java
 
b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v9/ExceptionResponseTest.java
index e673217..cc5fa32 100644
--- 
a/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v9/ExceptionResponseTest.java
+++ 
b/tests/activemq5-unit-tests/src/test/java/org/apache/activemq/openwire/v9/ExceptionResponseTest.java
@@ -1 +1,54 @@
-/**
 *
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.apache.activemq.openwire.v9;

import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;

import org.apache.activemq.openwire.*;
import org.apache.ac
 tivemq.command.*;

/**
 * Test case for the OpenWire marshalling for ExceptionResponse
 *
 *
 * NOTE!: This file is auto generated - do not modify!
 * if you need to make a change, please see the modify the groovy scripts in the
 * under src/gram/script and then use maven openwire:generate to regenerate
 * this file.
 */
public class ExceptionResponseTest extends ResponseTest {

   public static ExceptionResponseTest SINGLETON = new ExceptionResponseTest();

   @Override
   public Object createObject() throws Exception {
      ExceptionResponse info = new ExceptionResponse();
      populateObject(info);
      return info;
   }

   @Override
   protected void populateObject(Object object) throws Exception {
      super.populateObject(object);
      ExceptionResponse info = (ExceptionResponse) object;

      info.setException(createThrowable("Exception:1"));
   }
}
\ No newline at end of file
+/**
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.activemq.openwire.v9;
+
+import java.io.DataInputStream;
+import java.io.DataOutputStream;
+import java.io.IOException;
+
+import org.apache.activemq.openwire.*;
+import org.apache.activemq.command.*;
+
+/**
+ * Test case for the OpenWire marshalling for ExceptionResponse
+ *
+ *
+ * NOTE!: This file is auto generated - do not modify!
+ * if you need to make a change, please see the modify the groovy scripts in 
the
+ * under src/gram/script and then use maven openwire:generate to regenerate
+ * this file.
+ */
+public class ExceptionResponseTest extends ResponseTest {
+
+   public static ExceptionResponseTest SINGLETON = new ExceptionResponseTest();
+
+   @Override
+   public Object createObject() throws Exception {
+      ExceptionResponse info = new ExceptionResponse();
+      populateObject(info);
+      return info;
+   }
+
+   @Override
+   protected void populateObject(Object object) throws Exception {
+      super.populateObject(object);
+      ExceptionResponse info = (ExceptionResponse) object;
+
+      info.setException(createThrowable("Exception:1"));
+   }
+}

Reply via email to