activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r383749 [8/13] - in /incubator/activemq/trunk: activemq-core/ activemq-core/src/gram/java/org/apache/activemq/openwire/tool/ activemq-core/src/gram/script/ activemq-core/src/main/java/org/apache/activemq/command/ activemq-core/src/main/java...
Date Tue, 07 Mar 2006 02:33:12 GMT
Modified: incubator/activemq/trunk/openwire-c/src/libopenwire/ow_commands_v1.c
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/openwire-c/src/libopenwire/ow_commands_v1.c?rev=383749&r1=383748&r2=383749&view=diff
==============================================================================
--- incubator/activemq/trunk/openwire-c/src/libopenwire/ow_commands_v1.c (original)
+++ incubator/activemq/trunk/openwire-c/src/libopenwire/ow_commands_v1.c Mon Mar  6 18:32:50 2006
@@ -30,2546 +30,2587 @@
 #define SUCCESS_CHECK( f ) { apr_status_t rc=f; if(rc!=APR_SUCCESS) return rc; }
 
 
-ow_boolean ow_is_a_MessageId(ow_DataStructure *object) {
+ow_boolean ow_is_a_LocalTransactionId(ow_DataStructure *object) {
    if( object == 0 )
       return 0;
       
    switch(object->structType) {
-   case OW_MESSAGEID_TYPE:
+   case OW_LOCALTRANSACTIONID_TYPE:
       return 1;
    }
    return 0;
 }
 
 
-ow_MessageId *ow_MessageId_create(apr_pool_t *pool) 
+ow_LocalTransactionId *ow_LocalTransactionId_create(apr_pool_t *pool) 
 {
-   ow_MessageId *value = apr_pcalloc(pool,sizeof(ow_MessageId));
+   ow_LocalTransactionId *value = apr_pcalloc(pool,sizeof(ow_LocalTransactionId));
    if( value!=0 ) {
-      ((ow_DataStructure*)value)->structType = OW_MESSAGEID_TYPE;
+      ((ow_DataStructure*)value)->structType = OW_LOCALTRANSACTIONID_TYPE;
    }
    return value;
 }
 
 
-apr_status_t ow_marshal1_MessageId(ow_bit_buffer *buffer, ow_MessageId *object)
+apr_status_t ow_marshal1_LocalTransactionId(ow_bit_buffer *buffer, ow_LocalTransactionId *object)
 {
-   ow_marshal1_DataStructure(buffer, (ow_DataStructure*)object);
-   SUCCESS_CHECK(ow_marshal1_cached_object(buffer, (ow_DataStructure*)object->producerId));
-   ow_marshal1_long(buffer, object->producerSequenceId);
-   ow_marshal1_long(buffer, object->brokerSequenceId);
+   ow_marshal1_TransactionId(buffer, (ow_TransactionId*)object);
+   ow_marshal1_long(buffer, object->value);
+   SUCCESS_CHECK(ow_marshal1_cached_object(buffer, (ow_DataStructure*)object->connectionId));
    
 	return APR_SUCCESS;
 }
-apr_status_t ow_marshal2_MessageId(ow_byte_buffer *buffer, ow_bit_buffer *bitbuffer, ow_MessageId *object)
+apr_status_t ow_marshal2_LocalTransactionId(ow_byte_buffer *buffer, ow_bit_buffer *bitbuffer, ow_LocalTransactionId *object)
 {
-   ow_marshal2_DataStructure(buffer, bitbuffer, (ow_DataStructure*)object);   
-   SUCCESS_CHECK(ow_marshal2_cached_object(buffer, bitbuffer, (ow_DataStructure*)object->producerId));
-   SUCCESS_CHECK(ow_marshal2_long(buffer, bitbuffer, object->producerSequenceId));
-   SUCCESS_CHECK(ow_marshal2_long(buffer, bitbuffer, object->brokerSequenceId));
+   ow_marshal2_TransactionId(buffer, bitbuffer, (ow_TransactionId*)object);   
+   SUCCESS_CHECK(ow_marshal2_long(buffer, bitbuffer, object->value));
+   SUCCESS_CHECK(ow_marshal2_cached_object(buffer, bitbuffer, (ow_DataStructure*)object->connectionId));
    
 	return APR_SUCCESS;
 }
 
-apr_status_t ow_unmarshal_MessageId(ow_byte_array *buffer, ow_bit_buffer *bitbuffer, ow_MessageId *object, apr_pool_t *pool)
+apr_status_t ow_unmarshal_LocalTransactionId(ow_byte_array *buffer, ow_bit_buffer *bitbuffer, ow_LocalTransactionId *object, apr_pool_t *pool)
 {
-   ow_unmarshal_DataStructure(buffer, bitbuffer, (ow_DataStructure*)object, pool);   
-   SUCCESS_CHECK(ow_unmarshal_cached_object(buffer, bitbuffer, (ow_DataStructure**)&object->producerId, pool));
-   SUCCESS_CHECK(ow_unmarshal_long(buffer, bitbuffer, &object->producerSequenceId, pool));
-   SUCCESS_CHECK(ow_unmarshal_long(buffer, bitbuffer, &object->brokerSequenceId, pool));
+   ow_unmarshal_TransactionId(buffer, bitbuffer, (ow_TransactionId*)object, pool);   
+   SUCCESS_CHECK(ow_unmarshal_long(buffer, bitbuffer, &object->value, pool));
+   SUCCESS_CHECK(ow_unmarshal_cached_object(buffer, bitbuffer, (ow_DataStructure**)&object->connectionId, pool));
    
 	return APR_SUCCESS;
 }
 
-ow_boolean ow_is_a_BrokerInfo(ow_DataStructure *object) {
+ow_boolean ow_is_a_IntegerResponse(ow_DataStructure *object) {
    if( object == 0 )
       return 0;
       
    switch(object->structType) {
-   case OW_BROKERINFO_TYPE:
+   case OW_INTEGERRESPONSE_TYPE:
       return 1;
    }
    return 0;
 }
 
 
-ow_BrokerInfo *ow_BrokerInfo_create(apr_pool_t *pool) 
+ow_IntegerResponse *ow_IntegerResponse_create(apr_pool_t *pool) 
 {
-   ow_BrokerInfo *value = apr_pcalloc(pool,sizeof(ow_BrokerInfo));
+   ow_IntegerResponse *value = apr_pcalloc(pool,sizeof(ow_IntegerResponse));
    if( value!=0 ) {
-      ((ow_DataStructure*)value)->structType = OW_BROKERINFO_TYPE;
+      ((ow_DataStructure*)value)->structType = OW_INTEGERRESPONSE_TYPE;
    }
    return value;
 }
 
 
-apr_status_t ow_marshal1_BrokerInfo(ow_bit_buffer *buffer, ow_BrokerInfo *object)
+apr_status_t ow_marshal1_IntegerResponse(ow_bit_buffer *buffer, ow_IntegerResponse *object)
 {
-   ow_marshal1_BaseCommand(buffer, (ow_BaseCommand*)object);
-   SUCCESS_CHECK(ow_marshal1_cached_object(buffer, (ow_DataStructure*)object->brokerId));
-   ow_marshal1_string(buffer, object->brokerURL);
-   SUCCESS_CHECK(ow_marshal1_DataStructure_array(buffer, object->peerBrokerInfos));
-   ow_marshal1_string(buffer, object->brokerName);
-   ow_bit_buffer_append(buffer, object->slaveBroker);
+   ow_marshal1_Response(buffer, (ow_Response*)object);
+   
    
 	return APR_SUCCESS;
 }
-apr_status_t ow_marshal2_BrokerInfo(ow_byte_buffer *buffer, ow_bit_buffer *bitbuffer, ow_BrokerInfo *object)
+apr_status_t ow_marshal2_IntegerResponse(ow_byte_buffer *buffer, ow_bit_buffer *bitbuffer, ow_IntegerResponse *object)
 {
-   ow_marshal2_BaseCommand(buffer, bitbuffer, (ow_BaseCommand*)object);   
-   SUCCESS_CHECK(ow_marshal2_cached_object(buffer, bitbuffer, (ow_DataStructure*)object->brokerId));
-   SUCCESS_CHECK(ow_marshal2_string(buffer, bitbuffer, object->brokerURL));
-   SUCCESS_CHECK(ow_marshal2_DataStructure_array(buffer, bitbuffer, object->peerBrokerInfos));
-   SUCCESS_CHECK(ow_marshal2_string(buffer, bitbuffer, object->brokerName));
-   ow_bit_buffer_read(bitbuffer);
+   ow_marshal2_Response(buffer, bitbuffer, (ow_Response*)object);   
+   SUCCESS_CHECK(ow_byte_buffer_append_int(buffer, object->result));
    
 	return APR_SUCCESS;
 }
 
-apr_status_t ow_unmarshal_BrokerInfo(ow_byte_array *buffer, ow_bit_buffer *bitbuffer, ow_BrokerInfo *object, apr_pool_t *pool)
+apr_status_t ow_unmarshal_IntegerResponse(ow_byte_array *buffer, ow_bit_buffer *bitbuffer, ow_IntegerResponse *object, apr_pool_t *pool)
 {
-   ow_unmarshal_BaseCommand(buffer, bitbuffer, (ow_BaseCommand*)object, pool);   
-   SUCCESS_CHECK(ow_unmarshal_cached_object(buffer, bitbuffer, (ow_DataStructure**)&object->brokerId, pool));
-   SUCCESS_CHECK(ow_unmarshal_string(buffer, bitbuffer, &object->brokerURL, pool));
-   SUCCESS_CHECK(ow_unmarshal_DataStructure_array(buffer, bitbuffer, &object->peerBrokerInfos, pool));
-   SUCCESS_CHECK(ow_unmarshal_string(buffer, bitbuffer, &object->brokerName, pool));
-   object->slaveBroker = ow_bit_buffer_read(bitbuffer);
+   ow_unmarshal_Response(buffer, bitbuffer, (ow_Response*)object, pool);   
+   SUCCESS_CHECK(ow_byte_array_read_int(buffer, &object->result));
    
 	return APR_SUCCESS;
 }
 
-ow_boolean ow_is_a_ActiveMQTempQueue(ow_DataStructure *object) {
+ow_boolean ow_is_a_ActiveMQQueue(ow_DataStructure *object) {
    if( object == 0 )
       return 0;
       
    switch(object->structType) {
-   case OW_ACTIVEMQTEMPQUEUE_TYPE:
+   case OW_ACTIVEMQQUEUE_TYPE:
       return 1;
    }
    return 0;
 }
 
 
-ow_ActiveMQTempQueue *ow_ActiveMQTempQueue_create(apr_pool_t *pool) 
+ow_ActiveMQQueue *ow_ActiveMQQueue_create(apr_pool_t *pool) 
 {
-   ow_ActiveMQTempQueue *value = apr_pcalloc(pool,sizeof(ow_ActiveMQTempQueue));
+   ow_ActiveMQQueue *value = apr_pcalloc(pool,sizeof(ow_ActiveMQQueue));
    if( value!=0 ) {
-      ((ow_DataStructure*)value)->structType = OW_ACTIVEMQTEMPQUEUE_TYPE;
+      ((ow_DataStructure*)value)->structType = OW_ACTIVEMQQUEUE_TYPE;
    }
    return value;
 }
 
 
-apr_status_t ow_marshal1_ActiveMQTempQueue(ow_bit_buffer *buffer, ow_ActiveMQTempQueue *object)
+apr_status_t ow_marshal1_ActiveMQQueue(ow_bit_buffer *buffer, ow_ActiveMQQueue *object)
 {
-   ow_marshal1_ActiveMQTempDestination(buffer, (ow_ActiveMQTempDestination*)object);
+   ow_marshal1_ActiveMQDestination(buffer, (ow_ActiveMQDestination*)object);
    
 	return APR_SUCCESS;
 }
-apr_status_t ow_marshal2_ActiveMQTempQueue(ow_byte_buffer *buffer, ow_bit_buffer *bitbuffer, ow_ActiveMQTempQueue *object)
+apr_status_t ow_marshal2_ActiveMQQueue(ow_byte_buffer *buffer, ow_bit_buffer *bitbuffer, ow_ActiveMQQueue *object)
 {
-   ow_marshal2_ActiveMQTempDestination(buffer, bitbuffer, (ow_ActiveMQTempDestination*)object);   
+   ow_marshal2_ActiveMQDestination(buffer, bitbuffer, (ow_ActiveMQDestination*)object);   
    
 	return APR_SUCCESS;
 }
 
-apr_status_t ow_unmarshal_ActiveMQTempQueue(ow_byte_array *buffer, ow_bit_buffer *bitbuffer, ow_ActiveMQTempQueue *object, apr_pool_t *pool)
+apr_status_t ow_unmarshal_ActiveMQQueue(ow_byte_array *buffer, ow_bit_buffer *bitbuffer, ow_ActiveMQQueue *object, apr_pool_t *pool)
 {
-   ow_unmarshal_ActiveMQTempDestination(buffer, bitbuffer, (ow_ActiveMQTempDestination*)object, pool);   
+   ow_unmarshal_ActiveMQDestination(buffer, bitbuffer, (ow_ActiveMQDestination*)object, pool);   
    
 	return APR_SUCCESS;
 }
 
-ow_boolean ow_is_a_LocalTransactionId(ow_DataStructure *object) {
+ow_boolean ow_is_a_TransactionId(ow_DataStructure *object) {
    if( object == 0 )
       return 0;
       
    switch(object->structType) {
    case OW_LOCALTRANSACTIONID_TYPE:
+   case OW_XATRANSACTIONID_TYPE:
       return 1;
    }
    return 0;
 }
 
 
-ow_LocalTransactionId *ow_LocalTransactionId_create(apr_pool_t *pool) 
-{
-   ow_LocalTransactionId *value = apr_pcalloc(pool,sizeof(ow_LocalTransactionId));
-   if( value!=0 ) {
-      ((ow_DataStructure*)value)->structType = OW_LOCALTRANSACTIONID_TYPE;
-   }
-   return value;
-}
-
-
-apr_status_t ow_marshal1_LocalTransactionId(ow_bit_buffer *buffer, ow_LocalTransactionId *object)
+apr_status_t ow_marshal1_TransactionId(ow_bit_buffer *buffer, ow_TransactionId *object)
 {
-   ow_marshal1_TransactionId(buffer, (ow_TransactionId*)object);
-   ow_marshal1_long(buffer, object->value);
-   SUCCESS_CHECK(ow_marshal1_cached_object(buffer, (ow_DataStructure*)object->connectionId));
+   ow_marshal1_DataStructure(buffer, (ow_DataStructure*)object);
    
 	return APR_SUCCESS;
 }
-apr_status_t ow_marshal2_LocalTransactionId(ow_byte_buffer *buffer, ow_bit_buffer *bitbuffer, ow_LocalTransactionId *object)
+apr_status_t ow_marshal2_TransactionId(ow_byte_buffer *buffer, ow_bit_buffer *bitbuffer, ow_TransactionId *object)
 {
-   ow_marshal2_TransactionId(buffer, bitbuffer, (ow_TransactionId*)object);   
-   SUCCESS_CHECK(ow_marshal2_long(buffer, bitbuffer, object->value));
-   SUCCESS_CHECK(ow_marshal2_cached_object(buffer, bitbuffer, (ow_DataStructure*)object->connectionId));
+   ow_marshal2_DataStructure(buffer, bitbuffer, (ow_DataStructure*)object);   
    
 	return APR_SUCCESS;
 }
 
-apr_status_t ow_unmarshal_LocalTransactionId(ow_byte_array *buffer, ow_bit_buffer *bitbuffer, ow_LocalTransactionId *object, apr_pool_t *pool)
+apr_status_t ow_unmarshal_TransactionId(ow_byte_array *buffer, ow_bit_buffer *bitbuffer, ow_TransactionId *object, apr_pool_t *pool)
 {
-   ow_unmarshal_TransactionId(buffer, bitbuffer, (ow_TransactionId*)object, pool);   
-   SUCCESS_CHECK(ow_unmarshal_long(buffer, bitbuffer, &object->value, pool));
-   SUCCESS_CHECK(ow_unmarshal_cached_object(buffer, bitbuffer, (ow_DataStructure**)&object->connectionId, pool));
+   ow_unmarshal_DataStructure(buffer, bitbuffer, (ow_DataStructure*)object, pool);   
    
 	return APR_SUCCESS;
 }
 
-ow_boolean ow_is_a_RemoveSubscriptionInfo(ow_DataStructure *object) {
+ow_boolean ow_is_a_ActiveMQObjectMessage(ow_DataStructure *object) {
    if( object == 0 )
       return 0;
       
    switch(object->structType) {
-   case OW_REMOVESUBSCRIPTIONINFO_TYPE:
+   case OW_ACTIVEMQOBJECTMESSAGE_TYPE:
       return 1;
    }
    return 0;
 }
 
 
-ow_RemoveSubscriptionInfo *ow_RemoveSubscriptionInfo_create(apr_pool_t *pool) 
+ow_ActiveMQObjectMessage *ow_ActiveMQObjectMessage_create(apr_pool_t *pool) 
 {
-   ow_RemoveSubscriptionInfo *value = apr_pcalloc(pool,sizeof(ow_RemoveSubscriptionInfo));
+   ow_ActiveMQObjectMessage *value = apr_pcalloc(pool,sizeof(ow_ActiveMQObjectMessage));
    if( value!=0 ) {
-      ((ow_DataStructure*)value)->structType = OW_REMOVESUBSCRIPTIONINFO_TYPE;
+      ((ow_DataStructure*)value)->structType = OW_ACTIVEMQOBJECTMESSAGE_TYPE;
    }
    return value;
 }
 
 
-apr_status_t ow_marshal1_RemoveSubscriptionInfo(ow_bit_buffer *buffer, ow_RemoveSubscriptionInfo *object)
+apr_status_t ow_marshal1_ActiveMQObjectMessage(ow_bit_buffer *buffer, ow_ActiveMQObjectMessage *object)
 {
-   ow_marshal1_BaseCommand(buffer, (ow_BaseCommand*)object);
-   SUCCESS_CHECK(ow_marshal1_cached_object(buffer, (ow_DataStructure*)object->connectionId));
-   ow_marshal1_string(buffer, object->subcriptionName);
-   ow_marshal1_string(buffer, object->clientId);
+   ow_marshal1_ActiveMQMessage(buffer, (ow_ActiveMQMessage*)object);
    
 	return APR_SUCCESS;
 }
-apr_status_t ow_marshal2_RemoveSubscriptionInfo(ow_byte_buffer *buffer, ow_bit_buffer *bitbuffer, ow_RemoveSubscriptionInfo *object)
+apr_status_t ow_marshal2_ActiveMQObjectMessage(ow_byte_buffer *buffer, ow_bit_buffer *bitbuffer, ow_ActiveMQObjectMessage *object)
 {
-   ow_marshal2_BaseCommand(buffer, bitbuffer, (ow_BaseCommand*)object);   
-   SUCCESS_CHECK(ow_marshal2_cached_object(buffer, bitbuffer, (ow_DataStructure*)object->connectionId));
-   SUCCESS_CHECK(ow_marshal2_string(buffer, bitbuffer, object->subcriptionName));
-   SUCCESS_CHECK(ow_marshal2_string(buffer, bitbuffer, object->clientId));
+   ow_marshal2_ActiveMQMessage(buffer, bitbuffer, (ow_ActiveMQMessage*)object);   
    
 	return APR_SUCCESS;
 }
 
-apr_status_t ow_unmarshal_RemoveSubscriptionInfo(ow_byte_array *buffer, ow_bit_buffer *bitbuffer, ow_RemoveSubscriptionInfo *object, apr_pool_t *pool)
+apr_status_t ow_unmarshal_ActiveMQObjectMessage(ow_byte_array *buffer, ow_bit_buffer *bitbuffer, ow_ActiveMQObjectMessage *object, apr_pool_t *pool)
 {
-   ow_unmarshal_BaseCommand(buffer, bitbuffer, (ow_BaseCommand*)object, pool);   
-   SUCCESS_CHECK(ow_unmarshal_cached_object(buffer, bitbuffer, (ow_DataStructure**)&object->connectionId, pool));
-   SUCCESS_CHECK(ow_unmarshal_string(buffer, bitbuffer, &object->subcriptionName, pool));
-   SUCCESS_CHECK(ow_unmarshal_string(buffer, bitbuffer, &object->clientId, pool));
+   ow_unmarshal_ActiveMQMessage(buffer, bitbuffer, (ow_ActiveMQMessage*)object, pool);   
    
 	return APR_SUCCESS;
 }
 
-ow_boolean ow_is_a_IntegerResponse(ow_DataStructure *object) {
+ow_boolean ow_is_a_ConnectionId(ow_DataStructure *object) {
    if( object == 0 )
       return 0;
       
    switch(object->structType) {
-   case OW_INTEGERRESPONSE_TYPE:
+   case OW_CONNECTIONID_TYPE:
       return 1;
    }
    return 0;
 }
 
 
-ow_IntegerResponse *ow_IntegerResponse_create(apr_pool_t *pool) 
+ow_ConnectionId *ow_ConnectionId_create(apr_pool_t *pool) 
 {
-   ow_IntegerResponse *value = apr_pcalloc(pool,sizeof(ow_IntegerResponse));
+   ow_ConnectionId *value = apr_pcalloc(pool,sizeof(ow_ConnectionId));
    if( value!=0 ) {
-      ((ow_DataStructure*)value)->structType = OW_INTEGERRESPONSE_TYPE;
+      ((ow_DataStructure*)value)->structType = OW_CONNECTIONID_TYPE;
    }
    return value;
 }
 
 
-apr_status_t ow_marshal1_IntegerResponse(ow_bit_buffer *buffer, ow_IntegerResponse *object)
+apr_status_t ow_marshal1_ConnectionId(ow_bit_buffer *buffer, ow_ConnectionId *object)
 {
-   ow_marshal1_Response(buffer, (ow_Response*)object);
-   
+   ow_marshal1_DataStructure(buffer, (ow_DataStructure*)object);
+   ow_marshal1_string(buffer, object->value);
    
 	return APR_SUCCESS;
 }
-apr_status_t ow_marshal2_IntegerResponse(ow_byte_buffer *buffer, ow_bit_buffer *bitbuffer, ow_IntegerResponse *object)
+apr_status_t ow_marshal2_ConnectionId(ow_byte_buffer *buffer, ow_bit_buffer *bitbuffer, ow_ConnectionId *object)
 {
-   ow_marshal2_Response(buffer, bitbuffer, (ow_Response*)object);   
-   SUCCESS_CHECK(ow_byte_buffer_append_int(buffer, object->result));
+   ow_marshal2_DataStructure(buffer, bitbuffer, (ow_DataStructure*)object);   
+   SUCCESS_CHECK(ow_marshal2_string(buffer, bitbuffer, object->value));
    
 	return APR_SUCCESS;
 }
 
-apr_status_t ow_unmarshal_IntegerResponse(ow_byte_array *buffer, ow_bit_buffer *bitbuffer, ow_IntegerResponse *object, apr_pool_t *pool)
+apr_status_t ow_unmarshal_ConnectionId(ow_byte_array *buffer, ow_bit_buffer *bitbuffer, ow_ConnectionId *object, apr_pool_t *pool)
 {
-   ow_unmarshal_Response(buffer, bitbuffer, (ow_Response*)object, pool);   
-   SUCCESS_CHECK(ow_byte_array_read_int(buffer, &object->result));
+   ow_unmarshal_DataStructure(buffer, bitbuffer, (ow_DataStructure*)object, pool);   
+   SUCCESS_CHECK(ow_unmarshal_string(buffer, bitbuffer, &object->value, pool));
    
 	return APR_SUCCESS;
 }
 
-ow_boolean ow_is_a_ActiveMQQueue(ow_DataStructure *object) {
+ow_boolean ow_is_a_ConnectionInfo(ow_DataStructure *object) {
    if( object == 0 )
       return 0;
       
    switch(object->structType) {
-   case OW_ACTIVEMQQUEUE_TYPE:
+   case OW_CONNECTIONINFO_TYPE:
       return 1;
    }
    return 0;
 }
 
 
-ow_ActiveMQQueue *ow_ActiveMQQueue_create(apr_pool_t *pool) 
+ow_ConnectionInfo *ow_ConnectionInfo_create(apr_pool_t *pool) 
 {
-   ow_ActiveMQQueue *value = apr_pcalloc(pool,sizeof(ow_ActiveMQQueue));
+   ow_ConnectionInfo *value = apr_pcalloc(pool,sizeof(ow_ConnectionInfo));
    if( value!=0 ) {
-      ((ow_DataStructure*)value)->structType = OW_ACTIVEMQQUEUE_TYPE;
+      ((ow_DataStructure*)value)->structType = OW_CONNECTIONINFO_TYPE;
    }
    return value;
 }
 
 
-apr_status_t ow_marshal1_ActiveMQQueue(ow_bit_buffer *buffer, ow_ActiveMQQueue *object)
+apr_status_t ow_marshal1_ConnectionInfo(ow_bit_buffer *buffer, ow_ConnectionInfo *object)
 {
-   ow_marshal1_ActiveMQDestination(buffer, (ow_ActiveMQDestination*)object);
+   ow_marshal1_BaseCommand(buffer, (ow_BaseCommand*)object);
+   SUCCESS_CHECK(ow_marshal1_cached_object(buffer, (ow_DataStructure*)object->connectionId));
+   ow_marshal1_string(buffer, object->clientId);
+   ow_marshal1_string(buffer, object->password);
+   ow_marshal1_string(buffer, object->userName);
+   SUCCESS_CHECK(ow_marshal1_DataStructure_array(buffer, object->brokerPath));
    
 	return APR_SUCCESS;
 }
-apr_status_t ow_marshal2_ActiveMQQueue(ow_byte_buffer *buffer, ow_bit_buffer *bitbuffer, ow_ActiveMQQueue *object)
+apr_status_t ow_marshal2_ConnectionInfo(ow_byte_buffer *buffer, ow_bit_buffer *bitbuffer, ow_ConnectionInfo *object)
 {
-   ow_marshal2_ActiveMQDestination(buffer, bitbuffer, (ow_ActiveMQDestination*)object);   
+   ow_marshal2_BaseCommand(buffer, bitbuffer, (ow_BaseCommand*)object);   
+   SUCCESS_CHECK(ow_marshal2_cached_object(buffer, bitbuffer, (ow_DataStructure*)object->connectionId));
+   SUCCESS_CHECK(ow_marshal2_string(buffer, bitbuffer, object->clientId));
+   SUCCESS_CHECK(ow_marshal2_string(buffer, bitbuffer, object->password));
+   SUCCESS_CHECK(ow_marshal2_string(buffer, bitbuffer, object->userName));
+   SUCCESS_CHECK(ow_marshal2_DataStructure_array(buffer, bitbuffer, object->brokerPath));
    
 	return APR_SUCCESS;
 }
 
-apr_status_t ow_unmarshal_ActiveMQQueue(ow_byte_array *buffer, ow_bit_buffer *bitbuffer, ow_ActiveMQQueue *object, apr_pool_t *pool)
+apr_status_t ow_unmarshal_ConnectionInfo(ow_byte_array *buffer, ow_bit_buffer *bitbuffer, ow_ConnectionInfo *object, apr_pool_t *pool)
 {
-   ow_unmarshal_ActiveMQDestination(buffer, bitbuffer, (ow_ActiveMQDestination*)object, pool);   
+   ow_unmarshal_BaseCommand(buffer, bitbuffer, (ow_BaseCommand*)object, pool);   
+   SUCCESS_CHECK(ow_unmarshal_cached_object(buffer, bitbuffer, (ow_DataStructure**)&object->connectionId, pool));
+   SUCCESS_CHECK(ow_unmarshal_string(buffer, bitbuffer, &object->clientId, pool));
+   SUCCESS_CHECK(ow_unmarshal_string(buffer, bitbuffer, &object->password, pool));
+   SUCCESS_CHECK(ow_unmarshal_string(buffer, bitbuffer, &object->userName, pool));
+   SUCCESS_CHECK(ow_unmarshal_DataStructure_array(buffer, bitbuffer, &object->brokerPath, pool));
    
 	return APR_SUCCESS;
 }
 
-ow_boolean ow_is_a_DestinationInfo(ow_DataStructure *object) {
+ow_boolean ow_is_a_ProducerInfo(ow_DataStructure *object) {
    if( object == 0 )
       return 0;
       
    switch(object->structType) {
-   case OW_DESTINATIONINFO_TYPE:
+   case OW_PRODUCERINFO_TYPE:
       return 1;
    }
    return 0;
 }
 
 
-ow_DestinationInfo *ow_DestinationInfo_create(apr_pool_t *pool) 
+ow_ProducerInfo *ow_ProducerInfo_create(apr_pool_t *pool) 
 {
-   ow_DestinationInfo *value = apr_pcalloc(pool,sizeof(ow_DestinationInfo));
+   ow_ProducerInfo *value = apr_pcalloc(pool,sizeof(ow_ProducerInfo));
    if( value!=0 ) {
-      ((ow_DataStructure*)value)->structType = OW_DESTINATIONINFO_TYPE;
+      ((ow_DataStructure*)value)->structType = OW_PRODUCERINFO_TYPE;
    }
    return value;
 }
 
 
-apr_status_t ow_marshal1_DestinationInfo(ow_bit_buffer *buffer, ow_DestinationInfo *object)
+apr_status_t ow_marshal1_ProducerInfo(ow_bit_buffer *buffer, ow_ProducerInfo *object)
 {
    ow_marshal1_BaseCommand(buffer, (ow_BaseCommand*)object);
-   SUCCESS_CHECK(ow_marshal1_cached_object(buffer, (ow_DataStructure*)object->connectionId));
+   SUCCESS_CHECK(ow_marshal1_cached_object(buffer, (ow_DataStructure*)object->producerId));
    SUCCESS_CHECK(ow_marshal1_cached_object(buffer, (ow_DataStructure*)object->destination));
-   
-   ow_marshal1_long(buffer, object->timeout);
    SUCCESS_CHECK(ow_marshal1_DataStructure_array(buffer, object->brokerPath));
    
 	return APR_SUCCESS;
 }
-apr_status_t ow_marshal2_DestinationInfo(ow_byte_buffer *buffer, ow_bit_buffer *bitbuffer, ow_DestinationInfo *object)
+apr_status_t ow_marshal2_ProducerInfo(ow_byte_buffer *buffer, ow_bit_buffer *bitbuffer, ow_ProducerInfo *object)
 {
    ow_marshal2_BaseCommand(buffer, bitbuffer, (ow_BaseCommand*)object);   
-   SUCCESS_CHECK(ow_marshal2_cached_object(buffer, bitbuffer, (ow_DataStructure*)object->connectionId));
+   SUCCESS_CHECK(ow_marshal2_cached_object(buffer, bitbuffer, (ow_DataStructure*)object->producerId));
    SUCCESS_CHECK(ow_marshal2_cached_object(buffer, bitbuffer, (ow_DataStructure*)object->destination));
-   SUCCESS_CHECK(ow_byte_buffer_append_byte(buffer, object->operationType));
-   SUCCESS_CHECK(ow_marshal2_long(buffer, bitbuffer, object->timeout));
    SUCCESS_CHECK(ow_marshal2_DataStructure_array(buffer, bitbuffer, object->brokerPath));
    
 	return APR_SUCCESS;
 }
 
-apr_status_t ow_unmarshal_DestinationInfo(ow_byte_array *buffer, ow_bit_buffer *bitbuffer, ow_DestinationInfo *object, apr_pool_t *pool)
+apr_status_t ow_unmarshal_ProducerInfo(ow_byte_array *buffer, ow_bit_buffer *bitbuffer, ow_ProducerInfo *object, apr_pool_t *pool)
 {
    ow_unmarshal_BaseCommand(buffer, bitbuffer, (ow_BaseCommand*)object, pool);   
-   SUCCESS_CHECK(ow_unmarshal_cached_object(buffer, bitbuffer, (ow_DataStructure**)&object->connectionId, pool));
+   SUCCESS_CHECK(ow_unmarshal_cached_object(buffer, bitbuffer, (ow_DataStructure**)&object->producerId, pool));
    SUCCESS_CHECK(ow_unmarshal_cached_object(buffer, bitbuffer, (ow_DataStructure**)&object->destination, pool));
-   SUCCESS_CHECK(ow_byte_array_read_byte(buffer, &object->operationType));
-   SUCCESS_CHECK(ow_unmarshal_long(buffer, bitbuffer, &object->timeout, pool));
    SUCCESS_CHECK(ow_unmarshal_DataStructure_array(buffer, bitbuffer, &object->brokerPath, pool));
    
 	return APR_SUCCESS;
 }
 
-ow_boolean ow_is_a_ActiveMQBytesMessage(ow_DataStructure *object) {
+ow_boolean ow_is_a_MessageDispatchNotification(ow_DataStructure *object) {
    if( object == 0 )
       return 0;
       
    switch(object->structType) {
-   case OW_ACTIVEMQBYTESMESSAGE_TYPE:
+   case OW_MESSAGEDISPATCHNOTIFICATION_TYPE:
       return 1;
    }
    return 0;
 }
 
 
-ow_ActiveMQBytesMessage *ow_ActiveMQBytesMessage_create(apr_pool_t *pool) 
+ow_MessageDispatchNotification *ow_MessageDispatchNotification_create(apr_pool_t *pool) 
 {
-   ow_ActiveMQBytesMessage *value = apr_pcalloc(pool,sizeof(ow_ActiveMQBytesMessage));
+   ow_MessageDispatchNotification *value = apr_pcalloc(pool,sizeof(ow_MessageDispatchNotification));
    if( value!=0 ) {
-      ((ow_DataStructure*)value)->structType = OW_ACTIVEMQBYTESMESSAGE_TYPE;
+      ((ow_DataStructure*)value)->structType = OW_MESSAGEDISPATCHNOTIFICATION_TYPE;
    }
    return value;
 }
 
 
-apr_status_t ow_marshal1_ActiveMQBytesMessage(ow_bit_buffer *buffer, ow_ActiveMQBytesMessage *object)
+apr_status_t ow_marshal1_MessageDispatchNotification(ow_bit_buffer *buffer, ow_MessageDispatchNotification *object)
 {
-   ow_marshal1_ActiveMQMessage(buffer, (ow_ActiveMQMessage*)object);
+   ow_marshal1_BaseCommand(buffer, (ow_BaseCommand*)object);
+   SUCCESS_CHECK(ow_marshal1_cached_object(buffer, (ow_DataStructure*)object->consumerId));
+   SUCCESS_CHECK(ow_marshal1_cached_object(buffer, (ow_DataStructure*)object->destination));
+   ow_marshal1_long(buffer, object->deliverySequenceId);
+   SUCCESS_CHECK(ow_marshal1_nested_object(buffer, (ow_DataStructure*)object->messageId));
    
 	return APR_SUCCESS;
 }
-apr_status_t ow_marshal2_ActiveMQBytesMessage(ow_byte_buffer *buffer, ow_bit_buffer *bitbuffer, ow_ActiveMQBytesMessage *object)
+apr_status_t ow_marshal2_MessageDispatchNotification(ow_byte_buffer *buffer, ow_bit_buffer *bitbuffer, ow_MessageDispatchNotification *object)
 {
-   ow_marshal2_ActiveMQMessage(buffer, bitbuffer, (ow_ActiveMQMessage*)object);   
+   ow_marshal2_BaseCommand(buffer, bitbuffer, (ow_BaseCommand*)object);   
+   SUCCESS_CHECK(ow_marshal2_cached_object(buffer, bitbuffer, (ow_DataStructure*)object->consumerId));
+   SUCCESS_CHECK(ow_marshal2_cached_object(buffer, bitbuffer, (ow_DataStructure*)object->destination));
+   SUCCESS_CHECK(ow_marshal2_long(buffer, bitbuffer, object->deliverySequenceId));
+   SUCCESS_CHECK(ow_marshal2_nested_object(buffer, bitbuffer, (ow_DataStructure*)object->messageId));
    
 	return APR_SUCCESS;
 }
 
-apr_status_t ow_unmarshal_ActiveMQBytesMessage(ow_byte_array *buffer, ow_bit_buffer *bitbuffer, ow_ActiveMQBytesMessage *object, apr_pool_t *pool)
+apr_status_t ow_unmarshal_MessageDispatchNotification(ow_byte_array *buffer, ow_bit_buffer *bitbuffer, ow_MessageDispatchNotification *object, apr_pool_t *pool)
 {
-   ow_unmarshal_ActiveMQMessage(buffer, bitbuffer, (ow_ActiveMQMessage*)object, pool);   
+   ow_unmarshal_BaseCommand(buffer, bitbuffer, (ow_BaseCommand*)object, pool);   
+   SUCCESS_CHECK(ow_unmarshal_cached_object(buffer, bitbuffer, (ow_DataStructure**)&object->consumerId, pool));
+   SUCCESS_CHECK(ow_unmarshal_cached_object(buffer, bitbuffer, (ow_DataStructure**)&object->destination, pool));
+   SUCCESS_CHECK(ow_unmarshal_long(buffer, bitbuffer, &object->deliverySequenceId, pool));
+   SUCCESS_CHECK(ow_unmarshal_nested_object(buffer, bitbuffer, (ow_DataStructure**)&object->messageId, pool));
    
 	return APR_SUCCESS;
 }
 
-ow_boolean ow_is_a_ShutdownInfo(ow_DataStructure *object) {
+ow_boolean ow_is_a_SessionInfo(ow_DataStructure *object) {
    if( object == 0 )
       return 0;
       
    switch(object->structType) {
-   case OW_SHUTDOWNINFO_TYPE:
+   case OW_SESSIONINFO_TYPE:
       return 1;
    }
    return 0;
 }
 
 
-ow_ShutdownInfo *ow_ShutdownInfo_create(apr_pool_t *pool) 
+ow_SessionInfo *ow_SessionInfo_create(apr_pool_t *pool) 
 {
-   ow_ShutdownInfo *value = apr_pcalloc(pool,sizeof(ow_ShutdownInfo));
+   ow_SessionInfo *value = apr_pcalloc(pool,sizeof(ow_SessionInfo));
    if( value!=0 ) {
-      ((ow_DataStructure*)value)->structType = OW_SHUTDOWNINFO_TYPE;
+      ((ow_DataStructure*)value)->structType = OW_SESSIONINFO_TYPE;
    }
    return value;
 }
 
 
-apr_status_t ow_marshal1_ShutdownInfo(ow_bit_buffer *buffer, ow_ShutdownInfo *object)
+apr_status_t ow_marshal1_SessionInfo(ow_bit_buffer *buffer, ow_SessionInfo *object)
 {
    ow_marshal1_BaseCommand(buffer, (ow_BaseCommand*)object);
+   SUCCESS_CHECK(ow_marshal1_cached_object(buffer, (ow_DataStructure*)object->sessionId));
    
 	return APR_SUCCESS;
 }
-apr_status_t ow_marshal2_ShutdownInfo(ow_byte_buffer *buffer, ow_bit_buffer *bitbuffer, ow_ShutdownInfo *object)
+apr_status_t ow_marshal2_SessionInfo(ow_byte_buffer *buffer, ow_bit_buffer *bitbuffer, ow_SessionInfo *object)
 {
    ow_marshal2_BaseCommand(buffer, bitbuffer, (ow_BaseCommand*)object);   
+   SUCCESS_CHECK(ow_marshal2_cached_object(buffer, bitbuffer, (ow_DataStructure*)object->sessionId));
    
 	return APR_SUCCESS;
 }
 
-apr_status_t ow_unmarshal_ShutdownInfo(ow_byte_array *buffer, ow_bit_buffer *bitbuffer, ow_ShutdownInfo *object, apr_pool_t *pool)
+apr_status_t ow_unmarshal_SessionInfo(ow_byte_array *buffer, ow_bit_buffer *bitbuffer, ow_SessionInfo *object, apr_pool_t *pool)
 {
    ow_unmarshal_BaseCommand(buffer, bitbuffer, (ow_BaseCommand*)object, pool);   
+   SUCCESS_CHECK(ow_unmarshal_cached_object(buffer, bitbuffer, (ow_DataStructure**)&object->sessionId, pool));
    
 	return APR_SUCCESS;
 }
 
-ow_boolean ow_is_a_DataResponse(ow_DataStructure *object) {
+ow_boolean ow_is_a_TransactionInfo(ow_DataStructure *object) {
    if( object == 0 )
       return 0;
       
    switch(object->structType) {
-   case OW_DATARESPONSE_TYPE:
+   case OW_TRANSACTIONINFO_TYPE:
       return 1;
    }
    return 0;
 }
 
 
-ow_DataResponse *ow_DataResponse_create(apr_pool_t *pool) 
+ow_TransactionInfo *ow_TransactionInfo_create(apr_pool_t *pool) 
 {
-   ow_DataResponse *value = apr_pcalloc(pool,sizeof(ow_DataResponse));
+   ow_TransactionInfo *value = apr_pcalloc(pool,sizeof(ow_TransactionInfo));
    if( value!=0 ) {
-      ((ow_DataStructure*)value)->structType = OW_DATARESPONSE_TYPE;
+      ((ow_DataStructure*)value)->structType = OW_TRANSACTIONINFO_TYPE;
    }
    return value;
 }
 
 
-apr_status_t ow_marshal1_DataResponse(ow_bit_buffer *buffer, ow_DataResponse *object)
+apr_status_t ow_marshal1_TransactionInfo(ow_bit_buffer *buffer, ow_TransactionInfo *object)
 {
-   ow_marshal1_Response(buffer, (ow_Response*)object);
-   SUCCESS_CHECK(ow_marshal1_nested_object(buffer, (ow_DataStructure*)object->data));
+   ow_marshal1_BaseCommand(buffer, (ow_BaseCommand*)object);
+   SUCCESS_CHECK(ow_marshal1_cached_object(buffer, (ow_DataStructure*)object->connectionId));
+   SUCCESS_CHECK(ow_marshal1_cached_object(buffer, (ow_DataStructure*)object->transactionId));
+   
    
 	return APR_SUCCESS;
 }
-apr_status_t ow_marshal2_DataResponse(ow_byte_buffer *buffer, ow_bit_buffer *bitbuffer, ow_DataResponse *object)
+apr_status_t ow_marshal2_TransactionInfo(ow_byte_buffer *buffer, ow_bit_buffer *bitbuffer, ow_TransactionInfo *object)
 {
-   ow_marshal2_Response(buffer, bitbuffer, (ow_Response*)object);   
-   SUCCESS_CHECK(ow_marshal2_nested_object(buffer, bitbuffer, (ow_DataStructure*)object->data));
+   ow_marshal2_BaseCommand(buffer, bitbuffer, (ow_BaseCommand*)object);   
+   SUCCESS_CHECK(ow_marshal2_cached_object(buffer, bitbuffer, (ow_DataStructure*)object->connectionId));
+   SUCCESS_CHECK(ow_marshal2_cached_object(buffer, bitbuffer, (ow_DataStructure*)object->transactionId));
+   SUCCESS_CHECK(ow_byte_buffer_append_byte(buffer, object->type));
    
 	return APR_SUCCESS;
 }
 
-apr_status_t ow_unmarshal_DataResponse(ow_byte_array *buffer, ow_bit_buffer *bitbuffer, ow_DataResponse *object, apr_pool_t *pool)
+apr_status_t ow_unmarshal_TransactionInfo(ow_byte_array *buffer, ow_bit_buffer *bitbuffer, ow_TransactionInfo *object, apr_pool_t *pool)
 {
-   ow_unmarshal_Response(buffer, bitbuffer, (ow_Response*)object, pool);   
-   SUCCESS_CHECK(ow_unmarshal_nested_object(buffer, bitbuffer, (ow_DataStructure**)&object->data, pool));
+   ow_unmarshal_BaseCommand(buffer, bitbuffer, (ow_BaseCommand*)object, pool);   
+   SUCCESS_CHECK(ow_unmarshal_cached_object(buffer, bitbuffer, (ow_DataStructure**)&object->connectionId, pool));
+   SUCCESS_CHECK(ow_unmarshal_cached_object(buffer, bitbuffer, (ow_DataStructure**)&object->transactionId, pool));
+   SUCCESS_CHECK(ow_byte_array_read_byte(buffer, &object->type));
    
 	return APR_SUCCESS;
 }
 
-ow_boolean ow_is_a_SessionId(ow_DataStructure *object) {
+ow_boolean ow_is_a_ActiveMQStreamMessage(ow_DataStructure *object) {
    if( object == 0 )
       return 0;
       
    switch(object->structType) {
-   case OW_SESSIONID_TYPE:
+   case OW_ACTIVEMQSTREAMMESSAGE_TYPE:
       return 1;
    }
    return 0;
 }
 
 
-ow_SessionId *ow_SessionId_create(apr_pool_t *pool) 
+ow_ActiveMQStreamMessage *ow_ActiveMQStreamMessage_create(apr_pool_t *pool) 
 {
-   ow_SessionId *value = apr_pcalloc(pool,sizeof(ow_SessionId));
+   ow_ActiveMQStreamMessage *value = apr_pcalloc(pool,sizeof(ow_ActiveMQStreamMessage));
    if( value!=0 ) {
-      ((ow_DataStructure*)value)->structType = OW_SESSIONID_TYPE;
+      ((ow_DataStructure*)value)->structType = OW_ACTIVEMQSTREAMMESSAGE_TYPE;
    }
    return value;
 }
 
 
-apr_status_t ow_marshal1_SessionId(ow_bit_buffer *buffer, ow_SessionId *object)
+apr_status_t ow_marshal1_ActiveMQStreamMessage(ow_bit_buffer *buffer, ow_ActiveMQStreamMessage *object)
 {
-   ow_marshal1_DataStructure(buffer, (ow_DataStructure*)object);
-   ow_marshal1_string(buffer, object->connectionId);
-   ow_marshal1_long(buffer, object->value);
+   ow_marshal1_ActiveMQMessage(buffer, (ow_ActiveMQMessage*)object);
    
 	return APR_SUCCESS;
 }
-apr_status_t ow_marshal2_SessionId(ow_byte_buffer *buffer, ow_bit_buffer *bitbuffer, ow_SessionId *object)
+apr_status_t ow_marshal2_ActiveMQStreamMessage(ow_byte_buffer *buffer, ow_bit_buffer *bitbuffer, ow_ActiveMQStreamMessage *object)
 {
-   ow_marshal2_DataStructure(buffer, bitbuffer, (ow_DataStructure*)object);   
-   SUCCESS_CHECK(ow_marshal2_string(buffer, bitbuffer, object->connectionId));
-   SUCCESS_CHECK(ow_marshal2_long(buffer, bitbuffer, object->value));
+   ow_marshal2_ActiveMQMessage(buffer, bitbuffer, (ow_ActiveMQMessage*)object);   
    
 	return APR_SUCCESS;
 }
 
-apr_status_t ow_unmarshal_SessionId(ow_byte_array *buffer, ow_bit_buffer *bitbuffer, ow_SessionId *object, apr_pool_t *pool)
+apr_status_t ow_unmarshal_ActiveMQStreamMessage(ow_byte_array *buffer, ow_bit_buffer *bitbuffer, ow_ActiveMQStreamMessage *object, apr_pool_t *pool)
 {
-   ow_unmarshal_DataStructure(buffer, bitbuffer, (ow_DataStructure*)object, pool);   
-   SUCCESS_CHECK(ow_unmarshal_string(buffer, bitbuffer, &object->connectionId, pool));
-   SUCCESS_CHECK(ow_unmarshal_long(buffer, bitbuffer, &object->value, pool));
+   ow_unmarshal_ActiveMQMessage(buffer, bitbuffer, (ow_ActiveMQMessage*)object, pool);   
    
 	return APR_SUCCESS;
 }
 
-ow_boolean ow_is_a_DataArrayResponse(ow_DataStructure *object) {
+ow_boolean ow_is_a_MessageAck(ow_DataStructure *object) {
    if( object == 0 )
       return 0;
       
    switch(object->structType) {
-   case OW_DATAARRAYRESPONSE_TYPE:
+   case OW_MESSAGEACK_TYPE:
       return 1;
    }
    return 0;
 }
 
 
-ow_DataArrayResponse *ow_DataArrayResponse_create(apr_pool_t *pool) 
+ow_MessageAck *ow_MessageAck_create(apr_pool_t *pool) 
 {
-   ow_DataArrayResponse *value = apr_pcalloc(pool,sizeof(ow_DataArrayResponse));
+   ow_MessageAck *value = apr_pcalloc(pool,sizeof(ow_MessageAck));
    if( value!=0 ) {
-      ((ow_DataStructure*)value)->structType = OW_DATAARRAYRESPONSE_TYPE;
+      ((ow_DataStructure*)value)->structType = OW_MESSAGEACK_TYPE;
    }
    return value;
 }
 
 
-apr_status_t ow_marshal1_DataArrayResponse(ow_bit_buffer *buffer, ow_DataArrayResponse *object)
+apr_status_t ow_marshal1_MessageAck(ow_bit_buffer *buffer, ow_MessageAck *object)
 {
-   ow_marshal1_Response(buffer, (ow_Response*)object);
-   SUCCESS_CHECK(ow_marshal1_DataStructure_array(buffer, object->data));
+   ow_marshal1_BaseCommand(buffer, (ow_BaseCommand*)object);
+   SUCCESS_CHECK(ow_marshal1_cached_object(buffer, (ow_DataStructure*)object->destination));
+   SUCCESS_CHECK(ow_marshal1_cached_object(buffer, (ow_DataStructure*)object->transactionId));
+   SUCCESS_CHECK(ow_marshal1_cached_object(buffer, (ow_DataStructure*)object->consumerId));
+   
+   SUCCESS_CHECK(ow_marshal1_nested_object(buffer, (ow_DataStructure*)object->firstMessageId));
+   SUCCESS_CHECK(ow_marshal1_nested_object(buffer, (ow_DataStructure*)object->lastMessageId));
+   
    
 	return APR_SUCCESS;
 }
-apr_status_t ow_marshal2_DataArrayResponse(ow_byte_buffer *buffer, ow_bit_buffer *bitbuffer, ow_DataArrayResponse *object)
+apr_status_t ow_marshal2_MessageAck(ow_byte_buffer *buffer, ow_bit_buffer *bitbuffer, ow_MessageAck *object)
 {
-   ow_marshal2_Response(buffer, bitbuffer, (ow_Response*)object);   
-   SUCCESS_CHECK(ow_marshal2_DataStructure_array(buffer, bitbuffer, object->data));
+   ow_marshal2_BaseCommand(buffer, bitbuffer, (ow_BaseCommand*)object);   
+   SUCCESS_CHECK(ow_marshal2_cached_object(buffer, bitbuffer, (ow_DataStructure*)object->destination));
+   SUCCESS_CHECK(ow_marshal2_cached_object(buffer, bitbuffer, (ow_DataStructure*)object->transactionId));
+   SUCCESS_CHECK(ow_marshal2_cached_object(buffer, bitbuffer, (ow_DataStructure*)object->consumerId));
+   SUCCESS_CHECK(ow_byte_buffer_append_byte(buffer, object->ackType));
+   SUCCESS_CHECK(ow_marshal2_nested_object(buffer, bitbuffer, (ow_DataStructure*)object->firstMessageId));
+   SUCCESS_CHECK(ow_marshal2_nested_object(buffer, bitbuffer, (ow_DataStructure*)object->lastMessageId));
+   SUCCESS_CHECK(ow_byte_buffer_append_int(buffer, object->messageCount));
    
 	return APR_SUCCESS;
 }
 
-apr_status_t ow_unmarshal_DataArrayResponse(ow_byte_array *buffer, ow_bit_buffer *bitbuffer, ow_DataArrayResponse *object, apr_pool_t *pool)
+apr_status_t ow_unmarshal_MessageAck(ow_byte_array *buffer, ow_bit_buffer *bitbuffer, ow_MessageAck *object, apr_pool_t *pool)
 {
-   ow_unmarshal_Response(buffer, bitbuffer, (ow_Response*)object, pool);   
-   SUCCESS_CHECK(ow_unmarshal_DataStructure_array(buffer, bitbuffer, &object->data, pool));
+   ow_unmarshal_BaseCommand(buffer, bitbuffer, (ow_BaseCommand*)object, pool);   
+   SUCCESS_CHECK(ow_unmarshal_cached_object(buffer, bitbuffer, (ow_DataStructure**)&object->destination, pool));
+   SUCCESS_CHECK(ow_unmarshal_cached_object(buffer, bitbuffer, (ow_DataStructure**)&object->transactionId, pool));
+   SUCCESS_CHECK(ow_unmarshal_cached_object(buffer, bitbuffer, (ow_DataStructure**)&object->consumerId, pool));
+   SUCCESS_CHECK(ow_byte_array_read_byte(buffer, &object->ackType));
+   SUCCESS_CHECK(ow_unmarshal_nested_object(buffer, bitbuffer, (ow_DataStructure**)&object->firstMessageId, pool));
+   SUCCESS_CHECK(ow_unmarshal_nested_object(buffer, bitbuffer, (ow_DataStructure**)&object->lastMessageId, pool));
+   SUCCESS_CHECK(ow_byte_array_read_int(buffer, &object->messageCount));
    
 	return APR_SUCCESS;
 }
 
-ow_boolean ow_is_a_JournalQueueAck(ow_DataStructure *object) {
+ow_boolean ow_is_a_ProducerId(ow_DataStructure *object) {
    if( object == 0 )
       return 0;
       
    switch(object->structType) {
-   case OW_JOURNALQUEUEACK_TYPE:
+   case OW_PRODUCERID_TYPE:
       return 1;
    }
    return 0;
 }
 
 
-ow_JournalQueueAck *ow_JournalQueueAck_create(apr_pool_t *pool) 
+ow_ProducerId *ow_ProducerId_create(apr_pool_t *pool) 
 {
-   ow_JournalQueueAck *value = apr_pcalloc(pool,sizeof(ow_JournalQueueAck));
+   ow_ProducerId *value = apr_pcalloc(pool,sizeof(ow_ProducerId));
    if( value!=0 ) {
-      ((ow_DataStructure*)value)->structType = OW_JOURNALQUEUEACK_TYPE;
+      ((ow_DataStructure*)value)->structType = OW_PRODUCERID_TYPE;
    }
    return value;
 }
 
 
-apr_status_t ow_marshal1_JournalQueueAck(ow_bit_buffer *buffer, ow_JournalQueueAck *object)
+apr_status_t ow_marshal1_ProducerId(ow_bit_buffer *buffer, ow_ProducerId *object)
 {
    ow_marshal1_DataStructure(buffer, (ow_DataStructure*)object);
-   SUCCESS_CHECK(ow_marshal1_nested_object(buffer, (ow_DataStructure*)object->destination));
-   SUCCESS_CHECK(ow_marshal1_nested_object(buffer, (ow_DataStructure*)object->messageAck));
+   ow_marshal1_string(buffer, object->connectionId);
+   ow_marshal1_long(buffer, object->value);
+   ow_marshal1_long(buffer, object->sessionId);
    
 	return APR_SUCCESS;
 }
-apr_status_t ow_marshal2_JournalQueueAck(ow_byte_buffer *buffer, ow_bit_buffer *bitbuffer, ow_JournalQueueAck *object)
+apr_status_t ow_marshal2_ProducerId(ow_byte_buffer *buffer, ow_bit_buffer *bitbuffer, ow_ProducerId *object)
 {
    ow_marshal2_DataStructure(buffer, bitbuffer, (ow_DataStructure*)object);   
-   SUCCESS_CHECK(ow_marshal2_nested_object(buffer, bitbuffer, (ow_DataStructure*)object->destination));
-   SUCCESS_CHECK(ow_marshal2_nested_object(buffer, bitbuffer, (ow_DataStructure*)object->messageAck));
+   SUCCESS_CHECK(ow_marshal2_string(buffer, bitbuffer, object->connectionId));
+   SUCCESS_CHECK(ow_marshal2_long(buffer, bitbuffer, object->value));
+   SUCCESS_CHECK(ow_marshal2_long(buffer, bitbuffer, object->sessionId));
    
 	return APR_SUCCESS;
 }
 
-apr_status_t ow_unmarshal_JournalQueueAck(ow_byte_array *buffer, ow_bit_buffer *bitbuffer, ow_JournalQueueAck *object, apr_pool_t *pool)
+apr_status_t ow_unmarshal_ProducerId(ow_byte_array *buffer, ow_bit_buffer *bitbuffer, ow_ProducerId *object, apr_pool_t *pool)
 {
    ow_unmarshal_DataStructure(buffer, bitbuffer, (ow_DataStructure*)object, pool);   
-   SUCCESS_CHECK(ow_unmarshal_nested_object(buffer, bitbuffer, (ow_DataStructure**)&object->destination, pool));
-   SUCCESS_CHECK(ow_unmarshal_nested_object(buffer, bitbuffer, (ow_DataStructure**)&object->messageAck, pool));
+   SUCCESS_CHECK(ow_unmarshal_string(buffer, bitbuffer, &object->connectionId, pool));
+   SUCCESS_CHECK(ow_unmarshal_long(buffer, bitbuffer, &object->value, pool));
+   SUCCESS_CHECK(ow_unmarshal_long(buffer, bitbuffer, &object->sessionId, pool));
    
 	return APR_SUCCESS;
 }
 
-ow_boolean ow_is_a_WireFormatInfo(ow_DataStructure *object) {
+ow_boolean ow_is_a_MessageId(ow_DataStructure *object) {
    if( object == 0 )
       return 0;
       
    switch(object->structType) {
-   case OW_WIREFORMATINFO_TYPE:
+   case OW_MESSAGEID_TYPE:
       return 1;
    }
    return 0;
 }
 
 
-ow_WireFormatInfo *ow_WireFormatInfo_create(apr_pool_t *pool) 
+ow_MessageId *ow_MessageId_create(apr_pool_t *pool) 
 {
-   ow_WireFormatInfo *value = apr_pcalloc(pool,sizeof(ow_WireFormatInfo));
+   ow_MessageId *value = apr_pcalloc(pool,sizeof(ow_MessageId));
    if( value!=0 ) {
-      ((ow_DataStructure*)value)->structType = OW_WIREFORMATINFO_TYPE;
+      ((ow_DataStructure*)value)->structType = OW_MESSAGEID_TYPE;
    }
    return value;
 }
 
 
-apr_status_t ow_marshal1_WireFormatInfo(ow_bit_buffer *buffer, ow_WireFormatInfo *object)
+apr_status_t ow_marshal1_MessageId(ow_bit_buffer *buffer, ow_MessageId *object)
 {
    ow_marshal1_DataStructure(buffer, (ow_DataStructure*)object);
-   
-   
-   ow_bit_buffer_append(buffer, object->cacheEnabled);
-   ow_bit_buffer_append(buffer, object->stackTraceEnabled);
-   ow_bit_buffer_append(buffer, object->tcpNoDelayEnabled);
-   ow_bit_buffer_append(buffer, object->prefixPacketSize);
-   ow_bit_buffer_append(buffer, object->tightEncodingEnabled);
+   SUCCESS_CHECK(ow_marshal1_cached_object(buffer, (ow_DataStructure*)object->producerId));
+   ow_marshal1_long(buffer, object->producerSequenceId);
+   ow_marshal1_long(buffer, object->brokerSequenceId);
    
 	return APR_SUCCESS;
 }
-apr_status_t ow_marshal2_WireFormatInfo(ow_byte_buffer *buffer, ow_bit_buffer *bitbuffer, ow_WireFormatInfo *object)
+apr_status_t ow_marshal2_MessageId(ow_byte_buffer *buffer, ow_bit_buffer *bitbuffer, ow_MessageId *object)
 {
    ow_marshal2_DataStructure(buffer, bitbuffer, (ow_DataStructure*)object);   
-   SUCCESS_CHECK(ow_marshal2_byte_array_const_size(buffer, object->magic, 8));
-   SUCCESS_CHECK(ow_byte_buffer_append_int(buffer, object->version));
-   ow_bit_buffer_read(bitbuffer);
-   ow_bit_buffer_read(bitbuffer);
-   ow_bit_buffer_read(bitbuffer);
-   ow_bit_buffer_read(bitbuffer);
-   ow_bit_buffer_read(bitbuffer);
+   SUCCESS_CHECK(ow_marshal2_cached_object(buffer, bitbuffer, (ow_DataStructure*)object->producerId));
+   SUCCESS_CHECK(ow_marshal2_long(buffer, bitbuffer, object->producerSequenceId));
+   SUCCESS_CHECK(ow_marshal2_long(buffer, bitbuffer, object->brokerSequenceId));
    
 	return APR_SUCCESS;
 }
 
-apr_status_t ow_unmarshal_WireFormatInfo(ow_byte_array *buffer, ow_bit_buffer *bitbuffer, ow_WireFormatInfo *object, apr_pool_t *pool)
+apr_status_t ow_unmarshal_MessageId(ow_byte_array *buffer, ow_bit_buffer *bitbuffer, ow_MessageId *object, apr_pool_t *pool)
 {
    ow_unmarshal_DataStructure(buffer, bitbuffer, (ow_DataStructure*)object, pool);   
-   SUCCESS_CHECK(ow_unmarshal_byte_array_const_size(buffer, &object->magic, 8, pool));
-   SUCCESS_CHECK(ow_byte_array_read_int(buffer, &object->version));
-   object->cacheEnabled = ow_bit_buffer_read(bitbuffer);
-   object->stackTraceEnabled = ow_bit_buffer_read(bitbuffer);
-   object->tcpNoDelayEnabled = ow_bit_buffer_read(bitbuffer);
-   object->prefixPacketSize = ow_bit_buffer_read(bitbuffer);
-   object->tightEncodingEnabled = ow_bit_buffer_read(bitbuffer);
+   SUCCESS_CHECK(ow_unmarshal_cached_object(buffer, bitbuffer, (ow_DataStructure**)&object->producerId, pool));
+   SUCCESS_CHECK(ow_unmarshal_long(buffer, bitbuffer, &object->producerSequenceId, pool));
+   SUCCESS_CHECK(ow_unmarshal_long(buffer, bitbuffer, &object->brokerSequenceId, pool));
    
 	return APR_SUCCESS;
 }
 
-ow_boolean ow_is_a_TransactionId(ow_DataStructure *object) {
+ow_boolean ow_is_a_ActiveMQTempQueue(ow_DataStructure *object) {
    if( object == 0 )
       return 0;
       
    switch(object->structType) {
-   case OW_LOCALTRANSACTIONID_TYPE:
-   case OW_XATRANSACTIONID_TYPE:
+   case OW_ACTIVEMQTEMPQUEUE_TYPE:
       return 1;
    }
    return 0;
 }
 
 
-apr_status_t ow_marshal1_TransactionId(ow_bit_buffer *buffer, ow_TransactionId *object)
+ow_ActiveMQTempQueue *ow_ActiveMQTempQueue_create(apr_pool_t *pool) 
 {
-   ow_marshal1_DataStructure(buffer, (ow_DataStructure*)object);
+   ow_ActiveMQTempQueue *value = apr_pcalloc(pool,sizeof(ow_ActiveMQTempQueue));
+   if( value!=0 ) {
+      ((ow_DataStructure*)value)->structType = OW_ACTIVEMQTEMPQUEUE_TYPE;
+   }
+   return value;
+}
+
+
+apr_status_t ow_marshal1_ActiveMQTempQueue(ow_bit_buffer *buffer, ow_ActiveMQTempQueue *object)
+{
+   ow_marshal1_ActiveMQTempDestination(buffer, (ow_ActiveMQTempDestination*)object);
    
 	return APR_SUCCESS;
 }
-apr_status_t ow_marshal2_TransactionId(ow_byte_buffer *buffer, ow_bit_buffer *bitbuffer, ow_TransactionId *object)
+apr_status_t ow_marshal2_ActiveMQTempQueue(ow_byte_buffer *buffer, ow_bit_buffer *bitbuffer, ow_ActiveMQTempQueue *object)
 {
-   ow_marshal2_DataStructure(buffer, bitbuffer, (ow_DataStructure*)object);   
+   ow_marshal2_ActiveMQTempDestination(buffer, bitbuffer, (ow_ActiveMQTempDestination*)object);   
    
 	return APR_SUCCESS;
 }
 
-apr_status_t ow_unmarshal_TransactionId(ow_byte_array *buffer, ow_bit_buffer *bitbuffer, ow_TransactionId *object, apr_pool_t *pool)
+apr_status_t ow_unmarshal_ActiveMQTempQueue(ow_byte_array *buffer, ow_bit_buffer *bitbuffer, ow_ActiveMQTempQueue *object, apr_pool_t *pool)
 {
-   ow_unmarshal_DataStructure(buffer, bitbuffer, (ow_DataStructure*)object, pool);   
+   ow_unmarshal_ActiveMQTempDestination(buffer, bitbuffer, (ow_ActiveMQTempDestination*)object, pool);   
    
 	return APR_SUCCESS;
 }
 
-ow_boolean ow_is_a_Response(ow_DataStructure *object) {
+ow_boolean ow_is_a_RemoveSubscriptionInfo(ow_DataStructure *object) {
    if( object == 0 )
       return 0;
       
    switch(object->structType) {
-   case OW_INTEGERRESPONSE_TYPE:
-   case OW_DATARESPONSE_TYPE:
-   case OW_DATAARRAYRESPONSE_TYPE:
-   case OW_RESPONSE_TYPE:
-   case OW_EXCEPTIONRESPONSE_TYPE:
+   case OW_REMOVESUBSCRIPTIONINFO_TYPE:
       return 1;
    }
    return 0;
 }
 
 
-ow_Response *ow_Response_create(apr_pool_t *pool) 
+ow_RemoveSubscriptionInfo *ow_RemoveSubscriptionInfo_create(apr_pool_t *pool) 
 {
-   ow_Response *value = apr_pcalloc(pool,sizeof(ow_Response));
+   ow_RemoveSubscriptionInfo *value = apr_pcalloc(pool,sizeof(ow_RemoveSubscriptionInfo));
    if( value!=0 ) {
-      ((ow_DataStructure*)value)->structType = OW_RESPONSE_TYPE;
+      ((ow_DataStructure*)value)->structType = OW_REMOVESUBSCRIPTIONINFO_TYPE;
    }
    return value;
 }
 
 
-apr_status_t ow_marshal1_Response(ow_bit_buffer *buffer, ow_Response *object)
+apr_status_t ow_marshal1_RemoveSubscriptionInfo(ow_bit_buffer *buffer, ow_RemoveSubscriptionInfo *object)
 {
    ow_marshal1_BaseCommand(buffer, (ow_BaseCommand*)object);
-   
+   SUCCESS_CHECK(ow_marshal1_cached_object(buffer, (ow_DataStructure*)object->connectionId));
+   ow_marshal1_string(buffer, object->subcriptionName);
+   ow_marshal1_string(buffer, object->clientId);
    
 	return APR_SUCCESS;
 }
-apr_status_t ow_marshal2_Response(ow_byte_buffer *buffer, ow_bit_buffer *bitbuffer, ow_Response *object)
+apr_status_t ow_marshal2_RemoveSubscriptionInfo(ow_byte_buffer *buffer, ow_bit_buffer *bitbuffer, ow_RemoveSubscriptionInfo *object)
 {
    ow_marshal2_BaseCommand(buffer, bitbuffer, (ow_BaseCommand*)object);   
-   SUCCESS_CHECK(ow_byte_buffer_append_short(buffer, object->correlationId));
+   SUCCESS_CHECK(ow_marshal2_cached_object(buffer, bitbuffer, (ow_DataStructure*)object->connectionId));
+   SUCCESS_CHECK(ow_marshal2_string(buffer, bitbuffer, object->subcriptionName));
+   SUCCESS_CHECK(ow_marshal2_string(buffer, bitbuffer, object->clientId));
    
 	return APR_SUCCESS;
 }
 
-apr_status_t ow_unmarshal_Response(ow_byte_array *buffer, ow_bit_buffer *bitbuffer, ow_Response *object, apr_pool_t *pool)
+apr_status_t ow_unmarshal_RemoveSubscriptionInfo(ow_byte_array *buffer, ow_bit_buffer *bitbuffer, ow_RemoveSubscriptionInfo *object, apr_pool_t *pool)
 {
    ow_unmarshal_BaseCommand(buffer, bitbuffer, (ow_BaseCommand*)object, pool);   
-   SUCCESS_CHECK(ow_byte_array_read_short(buffer, &object->correlationId));
+   SUCCESS_CHECK(ow_unmarshal_cached_object(buffer, bitbuffer, (ow_DataStructure**)&object->connectionId, pool));
+   SUCCESS_CHECK(ow_unmarshal_string(buffer, bitbuffer, &object->subcriptionName, pool));
+   SUCCESS_CHECK(ow_unmarshal_string(buffer, bitbuffer, &object->clientId, pool));
    
 	return APR_SUCCESS;
 }
 
-ow_boolean ow_is_a_ConnectionError(ow_DataStructure *object) {
+ow_boolean ow_is_a_SessionId(ow_DataStructure *object) {
    if( object == 0 )
       return 0;
       
    switch(object->structType) {
-   case OW_CONNECTIONERROR_TYPE:
+   case OW_SESSIONID_TYPE:
       return 1;
    }
    return 0;
 }
 
 
-ow_ConnectionError *ow_ConnectionError_create(apr_pool_t *pool) 
+ow_SessionId *ow_SessionId_create(apr_pool_t *pool) 
 {
-   ow_ConnectionError *value = apr_pcalloc(pool,sizeof(ow_ConnectionError));
+   ow_SessionId *value = apr_pcalloc(pool,sizeof(ow_SessionId));
    if( value!=0 ) {
-      ((ow_DataStructure*)value)->structType = OW_CONNECTIONERROR_TYPE;
+      ((ow_DataStructure*)value)->structType = OW_SESSIONID_TYPE;
    }
    return value;
 }
 
 
-apr_status_t ow_marshal1_ConnectionError(ow_bit_buffer *buffer, ow_ConnectionError *object)
+apr_status_t ow_marshal1_SessionId(ow_bit_buffer *buffer, ow_SessionId *object)
 {
-   ow_marshal1_BaseCommand(buffer, (ow_BaseCommand*)object);
-   SUCCESS_CHECK(ow_marshal1_throwable(buffer, object->exception));
-   SUCCESS_CHECK(ow_marshal1_nested_object(buffer, (ow_DataStructure*)object->connectionId));
+   ow_marshal1_DataStructure(buffer, (ow_DataStructure*)object);
+   ow_marshal1_string(buffer, object->connectionId);
+   ow_marshal1_long(buffer, object->value);
    
 	return APR_SUCCESS;
 }
-apr_status_t ow_marshal2_ConnectionError(ow_byte_buffer *buffer, ow_bit_buffer *bitbuffer, ow_ConnectionError *object)
+apr_status_t ow_marshal2_SessionId(ow_byte_buffer *buffer, ow_bit_buffer *bitbuffer, ow_SessionId *object)
 {
-   ow_marshal2_BaseCommand(buffer, bitbuffer, (ow_BaseCommand*)object);   
-   SUCCESS_CHECK(ow_marshal2_throwable(buffer, bitbuffer, object->exception));
-   SUCCESS_CHECK(ow_marshal2_nested_object(buffer, bitbuffer, (ow_DataStructure*)object->connectionId));
+   ow_marshal2_DataStructure(buffer, bitbuffer, (ow_DataStructure*)object);   
+   SUCCESS_CHECK(ow_marshal2_string(buffer, bitbuffer, object->connectionId));
+   SUCCESS_CHECK(ow_marshal2_long(buffer, bitbuffer, object->value));
    
 	return APR_SUCCESS;
 }
 
-apr_status_t ow_unmarshal_ConnectionError(ow_byte_array *buffer, ow_bit_buffer *bitbuffer, ow_ConnectionError *object, apr_pool_t *pool)
+apr_status_t ow_unmarshal_SessionId(ow_byte_array *buffer, ow_bit_buffer *bitbuffer, ow_SessionId *object, apr_pool_t *pool)
 {
-   ow_unmarshal_BaseCommand(buffer, bitbuffer, (ow_BaseCommand*)object, pool);   
-   SUCCESS_CHECK(ow_unmarshal_throwable(buffer, bitbuffer, &object->exception, pool));
-   SUCCESS_CHECK(ow_unmarshal_nested_object(buffer, bitbuffer, (ow_DataStructure**)&object->connectionId, pool));
+   ow_unmarshal_DataStructure(buffer, bitbuffer, (ow_DataStructure*)object, pool);   
+   SUCCESS_CHECK(ow_unmarshal_string(buffer, bitbuffer, &object->connectionId, pool));
+   SUCCESS_CHECK(ow_unmarshal_long(buffer, bitbuffer, &object->value, pool));
    
 	return APR_SUCCESS;
 }
 
-ow_boolean ow_is_a_ActiveMQObjectMessage(ow_DataStructure *object) {
+ow_boolean ow_is_a_DataArrayResponse(ow_DataStructure *object) {
    if( object == 0 )
       return 0;
       
    switch(object->structType) {
-   case OW_ACTIVEMQOBJECTMESSAGE_TYPE:
+   case OW_DATAARRAYRESPONSE_TYPE:
       return 1;
    }
    return 0;
 }
 
 
-ow_ActiveMQObjectMessage *ow_ActiveMQObjectMessage_create(apr_pool_t *pool) 
+ow_DataArrayResponse *ow_DataArrayResponse_create(apr_pool_t *pool) 
 {
-   ow_ActiveMQObjectMessage *value = apr_pcalloc(pool,sizeof(ow_ActiveMQObjectMessage));
+   ow_DataArrayResponse *value = apr_pcalloc(pool,sizeof(ow_DataArrayResponse));
    if( value!=0 ) {
-      ((ow_DataStructure*)value)->structType = OW_ACTIVEMQOBJECTMESSAGE_TYPE;
+      ((ow_DataStructure*)value)->structType = OW_DATAARRAYRESPONSE_TYPE;
    }
    return value;
 }
 
 
-apr_status_t ow_marshal1_ActiveMQObjectMessage(ow_bit_buffer *buffer, ow_ActiveMQObjectMessage *object)
+apr_status_t ow_marshal1_DataArrayResponse(ow_bit_buffer *buffer, ow_DataArrayResponse *object)
 {
-   ow_marshal1_ActiveMQMessage(buffer, (ow_ActiveMQMessage*)object);
+   ow_marshal1_Response(buffer, (ow_Response*)object);
+   SUCCESS_CHECK(ow_marshal1_DataStructure_array(buffer, object->data));
    
 	return APR_SUCCESS;
 }
-apr_status_t ow_marshal2_ActiveMQObjectMessage(ow_byte_buffer *buffer, ow_bit_buffer *bitbuffer, ow_ActiveMQObjectMessage *object)
+apr_status_t ow_marshal2_DataArrayResponse(ow_byte_buffer *buffer, ow_bit_buffer *bitbuffer, ow_DataArrayResponse *object)
 {
-   ow_marshal2_ActiveMQMessage(buffer, bitbuffer, (ow_ActiveMQMessage*)object);   
+   ow_marshal2_Response(buffer, bitbuffer, (ow_Response*)object);   
+   SUCCESS_CHECK(ow_marshal2_DataStructure_array(buffer, bitbuffer, object->data));
    
 	return APR_SUCCESS;
 }
 
-apr_status_t ow_unmarshal_ActiveMQObjectMessage(ow_byte_array *buffer, ow_bit_buffer *bitbuffer, ow_ActiveMQObjectMessage *object, apr_pool_t *pool)
+apr_status_t ow_unmarshal_DataArrayResponse(ow_byte_array *buffer, ow_bit_buffer *bitbuffer, ow_DataArrayResponse *object, apr_pool_t *pool)
 {
-   ow_unmarshal_ActiveMQMessage(buffer, bitbuffer, (ow_ActiveMQMessage*)object, pool);   
+   ow_unmarshal_Response(buffer, bitbuffer, (ow_Response*)object, pool);   
+   SUCCESS_CHECK(ow_unmarshal_DataStructure_array(buffer, bitbuffer, &object->data, pool));
    
 	return APR_SUCCESS;
 }
 
-ow_boolean ow_is_a_ConsumerInfo(ow_DataStructure *object) {
+ow_boolean ow_is_a_JournalQueueAck(ow_DataStructure *object) {
    if( object == 0 )
       return 0;
       
    switch(object->structType) {
-   case OW_CONSUMERINFO_TYPE:
+   case OW_JOURNALQUEUEACK_TYPE:
       return 1;
    }
    return 0;
 }
 
 
-ow_ConsumerInfo *ow_ConsumerInfo_create(apr_pool_t *pool) 
+ow_JournalQueueAck *ow_JournalQueueAck_create(apr_pool_t *pool) 
 {
-   ow_ConsumerInfo *value = apr_pcalloc(pool,sizeof(ow_ConsumerInfo));
+   ow_JournalQueueAck *value = apr_pcalloc(pool,sizeof(ow_JournalQueueAck));
    if( value!=0 ) {
-      ((ow_DataStructure*)value)->structType = OW_CONSUMERINFO_TYPE;
+      ((ow_DataStructure*)value)->structType = OW_JOURNALQUEUEACK_TYPE;
    }
    return value;
 }
 
 
-apr_status_t ow_marshal1_ConsumerInfo(ow_bit_buffer *buffer, ow_ConsumerInfo *object)
+apr_status_t ow_marshal1_JournalQueueAck(ow_bit_buffer *buffer, ow_JournalQueueAck *object)
 {
-   ow_marshal1_BaseCommand(buffer, (ow_BaseCommand*)object);
-   SUCCESS_CHECK(ow_marshal1_cached_object(buffer, (ow_DataStructure*)object->consumerId));
-   ow_bit_buffer_append(buffer, object->browser);
-   SUCCESS_CHECK(ow_marshal1_cached_object(buffer, (ow_DataStructure*)object->destination));
-   
-   
-   ow_bit_buffer_append(buffer, object->dispatchAsync);
-   ow_marshal1_string(buffer, object->selector);
-   ow_marshal1_string(buffer, object->subcriptionName);
-   ow_bit_buffer_append(buffer, object->noLocal);
-   ow_bit_buffer_append(buffer, object->exclusive);
-   ow_bit_buffer_append(buffer, object->retroactive);
-   
-   SUCCESS_CHECK(ow_marshal1_DataStructure_array(buffer, object->brokerPath));
-   ow_bit_buffer_append(buffer, object->networkSubscription);
+   ow_marshal1_DataStructure(buffer, (ow_DataStructure*)object);
+   SUCCESS_CHECK(ow_marshal1_nested_object(buffer, (ow_DataStructure*)object->destination));
+   SUCCESS_CHECK(ow_marshal1_nested_object(buffer, (ow_DataStructure*)object->messageAck));
    
 	return APR_SUCCESS;
 }
-apr_status_t ow_marshal2_ConsumerInfo(ow_byte_buffer *buffer, ow_bit_buffer *bitbuffer, ow_ConsumerInfo *object)
+apr_status_t ow_marshal2_JournalQueueAck(ow_byte_buffer *buffer, ow_bit_buffer *bitbuffer, ow_JournalQueueAck *object)
 {
-   ow_marshal2_BaseCommand(buffer, bitbuffer, (ow_BaseCommand*)object);   
-   SUCCESS_CHECK(ow_marshal2_cached_object(buffer, bitbuffer, (ow_DataStructure*)object->consumerId));
-   ow_bit_buffer_read(bitbuffer);
-   SUCCESS_CHECK(ow_marshal2_cached_object(buffer, bitbuffer, (ow_DataStructure*)object->destination));
-   SUCCESS_CHECK(ow_byte_buffer_append_int(buffer, object->prefetchSize));
-   SUCCESS_CHECK(ow_byte_buffer_append_int(buffer, object->maximumPendingMessageLimit));
-   ow_bit_buffer_read(bitbuffer);
-   SUCCESS_CHECK(ow_marshal2_string(buffer, bitbuffer, object->selector));
-   SUCCESS_CHECK(ow_marshal2_string(buffer, bitbuffer, object->subcriptionName));
-   ow_bit_buffer_read(bitbuffer);
-   ow_bit_buffer_read(bitbuffer);
-   ow_bit_buffer_read(bitbuffer);
-   SUCCESS_CHECK(ow_byte_buffer_append_byte(buffer, object->priority));
-   SUCCESS_CHECK(ow_marshal2_DataStructure_array(buffer, bitbuffer, object->brokerPath));
-   ow_bit_buffer_read(bitbuffer);
+   ow_marshal2_DataStructure(buffer, bitbuffer, (ow_DataStructure*)object);   
+   SUCCESS_CHECK(ow_marshal2_nested_object(buffer, bitbuffer, (ow_DataStructure*)object->destination));
+   SUCCESS_CHECK(ow_marshal2_nested_object(buffer, bitbuffer, (ow_DataStructure*)object->messageAck));
    
 	return APR_SUCCESS;
 }
 
-apr_status_t ow_unmarshal_ConsumerInfo(ow_byte_array *buffer, ow_bit_buffer *bitbuffer, ow_ConsumerInfo *object, apr_pool_t *pool)
+apr_status_t ow_unmarshal_JournalQueueAck(ow_byte_array *buffer, ow_bit_buffer *bitbuffer, ow_JournalQueueAck *object, apr_pool_t *pool)
 {
-   ow_unmarshal_BaseCommand(buffer, bitbuffer, (ow_BaseCommand*)object, pool);   
-   SUCCESS_CHECK(ow_unmarshal_cached_object(buffer, bitbuffer, (ow_DataStructure**)&object->consumerId, pool));
-   object->browser = ow_bit_buffer_read(bitbuffer);
-   SUCCESS_CHECK(ow_unmarshal_cached_object(buffer, bitbuffer, (ow_DataStructure**)&object->destination, pool));
-   SUCCESS_CHECK(ow_byte_array_read_int(buffer, &object->prefetchSize));
-   SUCCESS_CHECK(ow_byte_array_read_int(buffer, &object->maximumPendingMessageLimit));
-   object->dispatchAsync = ow_bit_buffer_read(bitbuffer);
-   SUCCESS_CHECK(ow_unmarshal_string(buffer, bitbuffer, &object->selector, pool));
-   SUCCESS_CHECK(ow_unmarshal_string(buffer, bitbuffer, &object->subcriptionName, pool));
-   object->noLocal = ow_bit_buffer_read(bitbuffer);
-   object->exclusive = ow_bit_buffer_read(bitbuffer);
-   object->retroactive = ow_bit_buffer_read(bitbuffer);
-   SUCCESS_CHECK(ow_byte_array_read_byte(buffer, &object->priority));
-   SUCCESS_CHECK(ow_unmarshal_DataStructure_array(buffer, bitbuffer, &object->brokerPath, pool));
-   object->networkSubscription = ow_bit_buffer_read(bitbuffer);
+   ow_unmarshal_DataStructure(buffer, bitbuffer, (ow_DataStructure*)object, pool);   
+   SUCCESS_CHECK(ow_unmarshal_nested_object(buffer, bitbuffer, (ow_DataStructure**)&object->destination, pool));
+   SUCCESS_CHECK(ow_unmarshal_nested_object(buffer, bitbuffer, (ow_DataStructure**)&object->messageAck, pool));
    
 	return APR_SUCCESS;
 }
 
-ow_boolean ow_is_a_ActiveMQTempTopic(ow_DataStructure *object) {
+ow_boolean ow_is_a_Response(ow_DataStructure *object) {
    if( object == 0 )
       return 0;
       
    switch(object->structType) {
-   case OW_ACTIVEMQTEMPTOPIC_TYPE:
+   case OW_INTEGERRESPONSE_TYPE:
+   case OW_DATAARRAYRESPONSE_TYPE:
+   case OW_RESPONSE_TYPE:
+   case OW_DATARESPONSE_TYPE:
+   case OW_EXCEPTIONRESPONSE_TYPE:
       return 1;
    }
    return 0;
 }
 
 
-ow_ActiveMQTempTopic *ow_ActiveMQTempTopic_create(apr_pool_t *pool) 
+ow_Response *ow_Response_create(apr_pool_t *pool) 
 {
-   ow_ActiveMQTempTopic *value = apr_pcalloc(pool,sizeof(ow_ActiveMQTempTopic));
+   ow_Response *value = apr_pcalloc(pool,sizeof(ow_Response));
    if( value!=0 ) {
-      ((ow_DataStructure*)value)->structType = OW_ACTIVEMQTEMPTOPIC_TYPE;
+      ((ow_DataStructure*)value)->structType = OW_RESPONSE_TYPE;
    }
    return value;
 }
 
 
-apr_status_t ow_marshal1_ActiveMQTempTopic(ow_bit_buffer *buffer, ow_ActiveMQTempTopic *object)
+apr_status_t ow_marshal1_Response(ow_bit_buffer *buffer, ow_Response *object)
 {
-   ow_marshal1_ActiveMQTempDestination(buffer, (ow_ActiveMQTempDestination*)object);
+   ow_marshal1_BaseCommand(buffer, (ow_BaseCommand*)object);
+   
    
 	return APR_SUCCESS;
 }
-apr_status_t ow_marshal2_ActiveMQTempTopic(ow_byte_buffer *buffer, ow_bit_buffer *bitbuffer, ow_ActiveMQTempTopic *object)
+apr_status_t ow_marshal2_Response(ow_byte_buffer *buffer, ow_bit_buffer *bitbuffer, ow_Response *object)
 {
-   ow_marshal2_ActiveMQTempDestination(buffer, bitbuffer, (ow_ActiveMQTempDestination*)object);   
+   ow_marshal2_BaseCommand(buffer, bitbuffer, (ow_BaseCommand*)object);   
+   SUCCESS_CHECK(ow_byte_buffer_append_short(buffer, object->correlationId));
    
 	return APR_SUCCESS;
 }
 
-apr_status_t ow_unmarshal_ActiveMQTempTopic(ow_byte_array *buffer, ow_bit_buffer *bitbuffer, ow_ActiveMQTempTopic *object, apr_pool_t *pool)
+apr_status_t ow_unmarshal_Response(ow_byte_array *buffer, ow_bit_buffer *bitbuffer, ow_Response *object, apr_pool_t *pool)
 {
-   ow_unmarshal_ActiveMQTempDestination(buffer, bitbuffer, (ow_ActiveMQTempDestination*)object, pool);   
+   ow_unmarshal_BaseCommand(buffer, bitbuffer, (ow_BaseCommand*)object, pool);   
+   SUCCESS_CHECK(ow_byte_array_read_short(buffer, &object->correlationId));
    
 	return APR_SUCCESS;
 }
 
-ow_boolean ow_is_a_ConnectionId(ow_DataStructure *object) {
+ow_boolean ow_is_a_ConnectionError(ow_DataStructure *object) {
    if( object == 0 )
       return 0;
       
    switch(object->structType) {
-   case OW_CONNECTIONID_TYPE:
+   case OW_CONNECTIONERROR_TYPE:
       return 1;
    }
    return 0;
 }
 
 
-ow_ConnectionId *ow_ConnectionId_create(apr_pool_t *pool) 
+ow_ConnectionError *ow_ConnectionError_create(apr_pool_t *pool) 
 {
-   ow_ConnectionId *value = apr_pcalloc(pool,sizeof(ow_ConnectionId));
+   ow_ConnectionError *value = apr_pcalloc(pool,sizeof(ow_ConnectionError));
    if( value!=0 ) {
-      ((ow_DataStructure*)value)->structType = OW_CONNECTIONID_TYPE;
+      ((ow_DataStructure*)value)->structType = OW_CONNECTIONERROR_TYPE;
    }
    return value;
 }
 
 
-apr_status_t ow_marshal1_ConnectionId(ow_bit_buffer *buffer, ow_ConnectionId *object)
+apr_status_t ow_marshal1_ConnectionError(ow_bit_buffer *buffer, ow_ConnectionError *object)
 {
-   ow_marshal1_DataStructure(buffer, (ow_DataStructure*)object);
-   ow_marshal1_string(buffer, object->value);
+   ow_marshal1_BaseCommand(buffer, (ow_BaseCommand*)object);
+   SUCCESS_CHECK(ow_marshal1_throwable(buffer, object->exception));
+   SUCCESS_CHECK(ow_marshal1_nested_object(buffer, (ow_DataStructure*)object->connectionId));
    
 	return APR_SUCCESS;
 }
-apr_status_t ow_marshal2_ConnectionId(ow_byte_buffer *buffer, ow_bit_buffer *bitbuffer, ow_ConnectionId *object)
+apr_status_t ow_marshal2_ConnectionError(ow_byte_buffer *buffer, ow_bit_buffer *bitbuffer, ow_ConnectionError *object)
 {
-   ow_marshal2_DataStructure(buffer, bitbuffer, (ow_DataStructure*)object);   
-   SUCCESS_CHECK(ow_marshal2_string(buffer, bitbuffer, object->value));
+   ow_marshal2_BaseCommand(buffer, bitbuffer, (ow_BaseCommand*)object);   
+   SUCCESS_CHECK(ow_marshal2_throwable(buffer, bitbuffer, object->exception));
+   SUCCESS_CHECK(ow_marshal2_nested_object(buffer, bitbuffer, (ow_DataStructure*)object->connectionId));
    
 	return APR_SUCCESS;
 }
 
-apr_status_t ow_unmarshal_ConnectionId(ow_byte_array *buffer, ow_bit_buffer *bitbuffer, ow_ConnectionId *object, apr_pool_t *pool)
+apr_status_t ow_unmarshal_ConnectionError(ow_byte_array *buffer, ow_bit_buffer *bitbuffer, ow_ConnectionError *object, apr_pool_t *pool)
 {
-   ow_unmarshal_DataStructure(buffer, bitbuffer, (ow_DataStructure*)object, pool);   
-   SUCCESS_CHECK(ow_unmarshal_string(buffer, bitbuffer, &object->value, pool));
+   ow_unmarshal_BaseCommand(buffer, bitbuffer, (ow_BaseCommand*)object, pool);   
+   SUCCESS_CHECK(ow_unmarshal_throwable(buffer, bitbuffer, &object->exception, pool));
+   SUCCESS_CHECK(ow_unmarshal_nested_object(buffer, bitbuffer, (ow_DataStructure**)&object->connectionId, pool));
    
 	return APR_SUCCESS;
 }
 
-ow_boolean ow_is_a_DiscoveryEvent(ow_DataStructure *object) {
+ow_boolean ow_is_a_ConsumerInfo(ow_DataStructure *object) {
    if( object == 0 )
       return 0;
       
    switch(object->structType) {
-   case OW_DISCOVERYEVENT_TYPE:
+   case OW_CONSUMERINFO_TYPE:
       return 1;
    }
    return 0;
 }
 
 
-ow_DiscoveryEvent *ow_DiscoveryEvent_create(apr_pool_t *pool) 
+ow_ConsumerInfo *ow_ConsumerInfo_create(apr_pool_t *pool) 
 {
-   ow_DiscoveryEvent *value = apr_pcalloc(pool,sizeof(ow_DiscoveryEvent));
+   ow_ConsumerInfo *value = apr_pcalloc(pool,sizeof(ow_ConsumerInfo));
    if( value!=0 ) {
-      ((ow_DataStructure*)value)->structType = OW_DISCOVERYEVENT_TYPE;
+      ((ow_DataStructure*)value)->structType = OW_CONSUMERINFO_TYPE;
    }
    return value;
 }
 
 
-apr_status_t ow_marshal1_DiscoveryEvent(ow_bit_buffer *buffer, ow_DiscoveryEvent *object)
+apr_status_t ow_marshal1_ConsumerInfo(ow_bit_buffer *buffer, ow_ConsumerInfo *object)
 {
-   ow_marshal1_DataStructure(buffer, (ow_DataStructure*)object);
-   ow_marshal1_string(buffer, object->serviceName);
-   ow_marshal1_string(buffer, object->brokerName);
+   ow_marshal1_BaseCommand(buffer, (ow_BaseCommand*)object);
+   SUCCESS_CHECK(ow_marshal1_cached_object(buffer, (ow_DataStructure*)object->consumerId));
+   ow_bit_buffer_append(buffer, object->browser);
+   SUCCESS_CHECK(ow_marshal1_cached_object(buffer, (ow_DataStructure*)object->destination));
    
-	return APR_SUCCESS;
-}
-apr_status_t ow_marshal2_DiscoveryEvent(ow_byte_buffer *buffer, ow_bit_buffer *bitbuffer, ow_DiscoveryEvent *object)
-{
-   ow_marshal2_DataStructure(buffer, bitbuffer, (ow_DataStructure*)object);   
-   SUCCESS_CHECK(ow_marshal2_string(buffer, bitbuffer, object->serviceName));
-   SUCCESS_CHECK(ow_marshal2_string(buffer, bitbuffer, object->brokerName));
+   
+   ow_bit_buffer_append(buffer, object->dispatchAsync);
+   ow_marshal1_string(buffer, object->selector);
+   ow_marshal1_string(buffer, object->subcriptionName);
+   ow_bit_buffer_append(buffer, object->noLocal);
+   ow_bit_buffer_append(buffer, object->exclusive);
+   ow_bit_buffer_append(buffer, object->retroactive);
+   
+   SUCCESS_CHECK(ow_marshal1_DataStructure_array(buffer, object->brokerPath));
+   SUCCESS_CHECK(ow_marshal1_nested_object(buffer, (ow_DataStructure*)object->additionalPredicate));
+   ow_bit_buffer_append(buffer, object->networkSubscription);
    
 	return APR_SUCCESS;
 }
-
-apr_status_t ow_unmarshal_DiscoveryEvent(ow_byte_array *buffer, ow_bit_buffer *bitbuffer, ow_DiscoveryEvent *object, apr_pool_t *pool)
+apr_status_t ow_marshal2_ConsumerInfo(ow_byte_buffer *buffer, ow_bit_buffer *bitbuffer, ow_ConsumerInfo *object)
 {
-   ow_unmarshal_DataStructure(buffer, bitbuffer, (ow_DataStructure*)object, pool);   
-   SUCCESS_CHECK(ow_unmarshal_string(buffer, bitbuffer, &object->serviceName, pool));
-   SUCCESS_CHECK(ow_unmarshal_string(buffer, bitbuffer, &object->brokerName, pool));
+   ow_marshal2_BaseCommand(buffer, bitbuffer, (ow_BaseCommand*)object);   
+   SUCCESS_CHECK(ow_marshal2_cached_object(buffer, bitbuffer, (ow_DataStructure*)object->consumerId));
+   ow_bit_buffer_read(bitbuffer);
+   SUCCESS_CHECK(ow_marshal2_cached_object(buffer, bitbuffer, (ow_DataStructure*)object->destination));
+   SUCCESS_CHECK(ow_byte_buffer_append_int(buffer, object->prefetchSize));
+   SUCCESS_CHECK(ow_byte_buffer_append_int(buffer, object->maximumPendingMessageLimit));
+   ow_bit_buffer_read(bitbuffer);
+   SUCCESS_CHECK(ow_marshal2_string(buffer, bitbuffer, object->selector));
+   SUCCESS_CHECK(ow_marshal2_string(buffer, bitbuffer, object->subcriptionName));
+   ow_bit_buffer_read(bitbuffer);
+   ow_bit_buffer_read(bitbuffer);
+   ow_bit_buffer_read(bitbuffer);
+   SUCCESS_CHECK(ow_byte_buffer_append_byte(buffer, object->priority));
+   SUCCESS_CHECK(ow_marshal2_DataStructure_array(buffer, bitbuffer, object->brokerPath));
+   SUCCESS_CHECK(ow_marshal2_nested_object(buffer, bitbuffer, (ow_DataStructure*)object->additionalPredicate));
+   ow_bit_buffer_read(bitbuffer);
    
 	return APR_SUCCESS;
 }
 
-ow_boolean ow_is_a_ConnectionInfo(ow_DataStructure *object) {
+apr_status_t ow_unmarshal_ConsumerInfo(ow_byte_array *buffer, ow_bit_buffer *bitbuffer, ow_ConsumerInfo *object, apr_pool_t *pool)
+{
+   ow_unmarshal_BaseCommand(buffer, bitbuffer, (ow_BaseCommand*)object, pool);   
+   SUCCESS_CHECK(ow_unmarshal_cached_object(buffer, bitbuffer, (ow_DataStructure**)&object->consumerId, pool));
+   object->browser = ow_bit_buffer_read(bitbuffer);
+   SUCCESS_CHECK(ow_unmarshal_cached_object(buffer, bitbuffer, (ow_DataStructure**)&object->destination, pool));
+   SUCCESS_CHECK(ow_byte_array_read_int(buffer, &object->prefetchSize));
+   SUCCESS_CHECK(ow_byte_array_read_int(buffer, &object->maximumPendingMessageLimit));
+   object->dispatchAsync = ow_bit_buffer_read(bitbuffer);
+   SUCCESS_CHECK(ow_unmarshal_string(buffer, bitbuffer, &object->selector, pool));
+   SUCCESS_CHECK(ow_unmarshal_string(buffer, bitbuffer, &object->subcriptionName, pool));
+   object->noLocal = ow_bit_buffer_read(bitbuffer);
+   object->exclusive = ow_bit_buffer_read(bitbuffer);
+   object->retroactive = ow_bit_buffer_read(bitbuffer);
+   SUCCESS_CHECK(ow_byte_array_read_byte(buffer, &object->priority));
+   SUCCESS_CHECK(ow_unmarshal_DataStructure_array(buffer, bitbuffer, &object->brokerPath, pool));
+   SUCCESS_CHECK(ow_unmarshal_nested_object(buffer, bitbuffer, (ow_DataStructure**)&object->additionalPredicate, pool));
+   object->networkSubscription = ow_bit_buffer_read(bitbuffer);
+   
+	return APR_SUCCESS;
+}
+
+ow_boolean ow_is_a_XATransactionId(ow_DataStructure *object) {
    if( object == 0 )
       return 0;
       
    switch(object->structType) {
-   case OW_CONNECTIONINFO_TYPE:
+   case OW_XATRANSACTIONID_TYPE:
       return 1;
    }
    return 0;
 }
 
 
-ow_ConnectionInfo *ow_ConnectionInfo_create(apr_pool_t *pool) 
+ow_XATransactionId *ow_XATransactionId_create(apr_pool_t *pool) 
 {
-   ow_ConnectionInfo *value = apr_pcalloc(pool,sizeof(ow_ConnectionInfo));
+   ow_XATransactionId *value = apr_pcalloc(pool,sizeof(ow_XATransactionId));
    if( value!=0 ) {
-      ((ow_DataStructure*)value)->structType = OW_CONNECTIONINFO_TYPE;
+      ((ow_DataStructure*)value)->structType = OW_XATRANSACTIONID_TYPE;
    }
    return value;
 }
 
 
-apr_status_t ow_marshal1_ConnectionInfo(ow_bit_buffer *buffer, ow_ConnectionInfo *object)
+apr_status_t ow_marshal1_XATransactionId(ow_bit_buffer *buffer, ow_XATransactionId *object)
 {
-   ow_marshal1_BaseCommand(buffer, (ow_BaseCommand*)object);
-   SUCCESS_CHECK(ow_marshal1_cached_object(buffer, (ow_DataStructure*)object->connectionId));
-   ow_marshal1_string(buffer, object->clientId);
-   ow_marshal1_string(buffer, object->password);
-   ow_marshal1_string(buffer, object->userName);
-   SUCCESS_CHECK(ow_marshal1_DataStructure_array(buffer, object->brokerPath));
+   ow_marshal1_TransactionId(buffer, (ow_TransactionId*)object);
+   
+   
+                        ow_bit_buffer_append(buffer,  object->globalTransactionId!=0 );
+                        
+   
+                        ow_bit_buffer_append(buffer,  object->branchQualifier!=0 );
+                        
    
 	return APR_SUCCESS;
 }
-apr_status_t ow_marshal2_ConnectionInfo(ow_byte_buffer *buffer, ow_bit_buffer *bitbuffer, ow_ConnectionInfo *object)
+apr_status_t ow_marshal2_XATransactionId(ow_byte_buffer *buffer, ow_bit_buffer *bitbuffer, ow_XATransactionId *object)
 {
-   ow_marshal2_BaseCommand(buffer, bitbuffer, (ow_BaseCommand*)object);   
-   SUCCESS_CHECK(ow_marshal2_cached_object(buffer, bitbuffer, (ow_DataStructure*)object->connectionId));
-   SUCCESS_CHECK(ow_marshal2_string(buffer, bitbuffer, object->clientId));
-   SUCCESS_CHECK(ow_marshal2_string(buffer, bitbuffer, object->password));
-   SUCCESS_CHECK(ow_marshal2_string(buffer, bitbuffer, object->userName));
-   SUCCESS_CHECK(ow_marshal2_DataStructure_array(buffer, bitbuffer, object->brokerPath));
+   ow_marshal2_TransactionId(buffer, bitbuffer, (ow_TransactionId*)object);   
+   SUCCESS_CHECK(ow_byte_buffer_append_int(buffer, object->formatId));
+   SUCCESS_CHECK(ow_marshal2_byte_array(buffer, bitbuffer, object->globalTransactionId));
+   SUCCESS_CHECK(ow_marshal2_byte_array(buffer, bitbuffer, object->branchQualifier));
    
 	return APR_SUCCESS;
 }
 
-apr_status_t ow_unmarshal_ConnectionInfo(ow_byte_array *buffer, ow_bit_buffer *bitbuffer, ow_ConnectionInfo *object, apr_pool_t *pool)
+apr_status_t ow_unmarshal_XATransactionId(ow_byte_array *buffer, ow_bit_buffer *bitbuffer, ow_XATransactionId *object, apr_pool_t *pool)
 {
-   ow_unmarshal_BaseCommand(buffer, bitbuffer, (ow_BaseCommand*)object, pool);   
-   SUCCESS_CHECK(ow_unmarshal_cached_object(buffer, bitbuffer, (ow_DataStructure**)&object->connectionId, pool));
-   SUCCESS_CHECK(ow_unmarshal_string(buffer, bitbuffer, &object->clientId, pool));
-   SUCCESS_CHECK(ow_unmarshal_string(buffer, bitbuffer, &object->password, pool));
-   SUCCESS_CHECK(ow_unmarshal_string(buffer, bitbuffer, &object->userName, pool));
-   SUCCESS_CHECK(ow_unmarshal_DataStructure_array(buffer, bitbuffer, &object->brokerPath, pool));
+   ow_unmarshal_TransactionId(buffer, bitbuffer, (ow_TransactionId*)object, pool);   
+   SUCCESS_CHECK(ow_byte_array_read_int(buffer, &object->formatId));
+   SUCCESS_CHECK(ow_unmarshal_byte_array(buffer, bitbuffer, &object->globalTransactionId, pool));
+   SUCCESS_CHECK(ow_unmarshal_byte_array(buffer, bitbuffer, &object->branchQualifier, pool));
    
 	return APR_SUCCESS;
 }
 
-ow_boolean ow_is_a_KeepAliveInfo(ow_DataStructure *object) {
+ow_boolean ow_is_a_JournalTrace(ow_DataStructure *object) {
    if( object == 0 )
       return 0;
       
    switch(object->structType) {
-   case OW_KEEPALIVEINFO_TYPE:
+   case OW_JOURNALTRACE_TYPE:
       return 1;
    }
    return 0;
 }
 
 
-ow_KeepAliveInfo *ow_KeepAliveInfo_create(apr_pool_t *pool) 
+ow_JournalTrace *ow_JournalTrace_create(apr_pool_t *pool) 
 {
-   ow_KeepAliveInfo *value = apr_pcalloc(pool,sizeof(ow_KeepAliveInfo));
+   ow_JournalTrace *value = apr_pcalloc(pool,sizeof(ow_JournalTrace));
    if( value!=0 ) {
-      ((ow_DataStructure*)value)->structType = OW_KEEPALIVEINFO_TYPE;
+      ((ow_DataStructure*)value)->structType = OW_JOURNALTRACE_TYPE;
    }
    return value;
 }
 
 
-apr_status_t ow_marshal1_KeepAliveInfo(ow_bit_buffer *buffer, ow_KeepAliveInfo *object)
+apr_status_t ow_marshal1_JournalTrace(ow_bit_buffer *buffer, ow_JournalTrace *object)
 {
    ow_marshal1_DataStructure(buffer, (ow_DataStructure*)object);
+   ow_marshal1_string(buffer, object->message);
    
 	return APR_SUCCESS;
 }
-apr_status_t ow_marshal2_KeepAliveInfo(ow_byte_buffer *buffer, ow_bit_buffer *bitbuffer, ow_KeepAliveInfo *object)
+apr_status_t ow_marshal2_JournalTrace(ow_byte_buffer *buffer, ow_bit_buffer *bitbuffer, ow_JournalTrace *object)
 {
    ow_marshal2_DataStructure(buffer, bitbuffer, (ow_DataStructure*)object);   
+   SUCCESS_CHECK(ow_marshal2_string(buffer, bitbuffer, object->message));
    
 	return APR_SUCCESS;
 }
 
-apr_status_t ow_unmarshal_KeepAliveInfo(ow_byte_array *buffer, ow_bit_buffer *bitbuffer, ow_KeepAliveInfo *object, apr_pool_t *pool)
+apr_status_t ow_unmarshal_JournalTrace(ow_byte_array *buffer, ow_bit_buffer *bitbuffer, ow_JournalTrace *object, apr_pool_t *pool)
 {
    ow_unmarshal_DataStructure(buffer, bitbuffer, (ow_DataStructure*)object, pool);   
+   SUCCESS_CHECK(ow_unmarshal_string(buffer, bitbuffer, &object->message, pool));
    
 	return APR_SUCCESS;
 }
 
-ow_boolean ow_is_a_Message(ow_DataStructure *object) {
+ow_boolean ow_is_a_ConsumerId(ow_DataStructure *object) {
    if( object == 0 )
       return 0;
       
    switch(object->structType) {
-   case OW_ACTIVEMQBYTESMESSAGE_TYPE:
-   case OW_ACTIVEMQOBJECTMESSAGE_TYPE:
-   case OW_ACTIVEMQTEXTMESSAGE_TYPE:
-   case OW_ACTIVEMQMAPMESSAGE_TYPE:
-   case OW_ACTIVEMQMESSAGE_TYPE:
-   case OW_ACTIVEMQSTREAMMESSAGE_TYPE:
+   case OW_CONSUMERID_TYPE:
       return 1;
    }
    return 0;
 }
 
 
-apr_status_t ow_marshal1_Message(ow_bit_buffer *buffer, ow_Message *object)
+ow_ConsumerId *ow_ConsumerId_create(apr_pool_t *pool) 
 {
-   ow_marshal1_BaseCommand(buffer, (ow_BaseCommand*)object);
-   SUCCESS_CHECK(ow_marshal1_cached_object(buffer, (ow_DataStructure*)object->producerId));
-   SUCCESS_CHECK(ow_marshal1_cached_object(buffer, (ow_DataStructure*)object->destination));
-   SUCCESS_CHECK(ow_marshal1_cached_object(buffer, (ow_DataStructure*)object->transactionId));
-   SUCCESS_CHECK(ow_marshal1_cached_object(buffer, (ow_DataStructure*)object->originalDestination));
-   SUCCESS_CHECK(ow_marshal1_nested_object(buffer, (ow_DataStructure*)object->messageId));
-   SUCCESS_CHECK(ow_marshal1_cached_object(buffer, (ow_DataStructure*)object->originalTransactionId));
-   ow_marshal1_string(buffer, object->groupID);
-   
-   ow_marshal1_string(buffer, object->correlationId);
-   ow_bit_buffer_append(buffer, object->persistent);
-   ow_marshal1_long(buffer, object->expiration);
-   
-   SUCCESS_CHECK(ow_marshal1_nested_object(buffer, (ow_DataStructure*)object->replyTo));
-   ow_marshal1_long(buffer, object->timestamp);
-   ow_marshal1_string(buffer, object->type);
-   
-                        ow_bit_buffer_append(buffer,  object->content!=0 );
-                        
-   
-                        ow_bit_buffer_append(buffer,  object->marshalledProperties!=0 );
-                        
-   SUCCESS_CHECK(ow_marshal1_nested_object(buffer, (ow_DataStructure*)object->dataStructure));
-   SUCCESS_CHECK(ow_marshal1_cached_object(buffer, (ow_DataStructure*)object->targetConsumerId));
-   ow_bit_buffer_append(buffer, object->compressed);
-   
-   SUCCESS_CHECK(ow_marshal1_DataStructure_array(buffer, object->brokerPath));
-   ow_marshal1_long(buffer, object->arrival);
-   ow_marshal1_string(buffer, object->userID);
-   ow_bit_buffer_append(buffer, object->recievedByDFBridge);
+   ow_ConsumerId *value = apr_pcalloc(pool,sizeof(ow_ConsumerId));
+   if( value!=0 ) {
+      ((ow_DataStructure*)value)->structType = OW_CONSUMERID_TYPE;
+   }
+   return value;
+}
+
+
+apr_status_t ow_marshal1_ConsumerId(ow_bit_buffer *buffer, ow_ConsumerId *object)
+{
+   ow_marshal1_DataStructure(buffer, (ow_DataStructure*)object);
+   ow_marshal1_string(buffer, object->connectionId);
+   ow_marshal1_long(buffer, object->sessionId);
+   ow_marshal1_long(buffer, object->value);
    
 	return APR_SUCCESS;
 }
-apr_status_t ow_marshal2_Message(ow_byte_buffer *buffer, ow_bit_buffer *bitbuffer, ow_Message *object)
+apr_status_t ow_marshal2_ConsumerId(ow_byte_buffer *buffer, ow_bit_buffer *bitbuffer, ow_ConsumerId *object)
 {
-   ow_marshal2_BaseCommand(buffer, bitbuffer, (ow_BaseCommand*)object);   
-   SUCCESS_CHECK(ow_marshal2_cached_object(buffer, bitbuffer, (ow_DataStructure*)object->producerId));
-   SUCCESS_CHECK(ow_marshal2_cached_object(buffer, bitbuffer, (ow_DataStructure*)object->destination));
-   SUCCESS_CHECK(ow_marshal2_cached_object(buffer, bitbuffer, (ow_DataStructure*)object->transactionId));
-   SUCCESS_CHECK(ow_marshal2_cached_object(buffer, bitbuffer, (ow_DataStructure*)object->originalDestination));
-   SUCCESS_CHECK(ow_marshal2_nested_object(buffer, bitbuffer, (ow_DataStructure*)object->messageId));
-   SUCCESS_CHECK(ow_marshal2_cached_object(buffer, bitbuffer, (ow_DataStructure*)object->originalTransactionId));
-   SUCCESS_CHECK(ow_marshal2_string(buffer, bitbuffer, object->groupID));
-   SUCCESS_CHECK(ow_byte_buffer_append_int(buffer, object->groupSequence));
-   SUCCESS_CHECK(ow_marshal2_string(buffer, bitbuffer, object->correlationId));
-   ow_bit_buffer_read(bitbuffer);
-   SUCCESS_CHECK(ow_marshal2_long(buffer, bitbuffer, object->expiration));
-   SUCCESS_CHECK(ow_byte_buffer_append_byte(buffer, object->priority));
-   SUCCESS_CHECK(ow_marshal2_nested_object(buffer, bitbuffer, (ow_DataStructure*)object->replyTo));
-   SUCCESS_CHECK(ow_marshal2_long(buffer, bitbuffer, object->timestamp));
-   SUCCESS_CHECK(ow_marshal2_string(buffer, bitbuffer, object->type));
-   SUCCESS_CHECK(ow_marshal2_byte_array(buffer, bitbuffer, object->content));
-   SUCCESS_CHECK(ow_marshal2_byte_array(buffer, bitbuffer, object->marshalledProperties));
-   SUCCESS_CHECK(ow_marshal2_nested_object(buffer, bitbuffer, (ow_DataStructure*)object->dataStructure));
-   SUCCESS_CHECK(ow_marshal2_cached_object(buffer, bitbuffer, (ow_DataStructure*)object->targetConsumerId));
-   ow_bit_buffer_read(bitbuffer);
-   SUCCESS_CHECK(ow_byte_buffer_append_int(buffer, object->redeliveryCounter));
-   SUCCESS_CHECK(ow_marshal2_DataStructure_array(buffer, bitbuffer, object->brokerPath));
-   SUCCESS_CHECK(ow_marshal2_long(buffer, bitbuffer, object->arrival));
-   SUCCESS_CHECK(ow_marshal2_string(buffer, bitbuffer, object->userID));
-   ow_bit_buffer_read(bitbuffer);
+   ow_marshal2_DataStructure(buffer, bitbuffer, (ow_DataStructure*)object);   
+   SUCCESS_CHECK(ow_marshal2_string(buffer, bitbuffer, object->connectionId));
+   SUCCESS_CHECK(ow_marshal2_long(buffer, bitbuffer, object->sessionId));
+   SUCCESS_CHECK(ow_marshal2_long(buffer, bitbuffer, object->value));
    
 	return APR_SUCCESS;
 }
 
-apr_status_t ow_unmarshal_Message(ow_byte_array *buffer, ow_bit_buffer *bitbuffer, ow_Message *object, apr_pool_t *pool)
+apr_status_t ow_unmarshal_ConsumerId(ow_byte_array *buffer, ow_bit_buffer *bitbuffer, ow_ConsumerId *object, apr_pool_t *pool)
 {
-   ow_unmarshal_BaseCommand(buffer, bitbuffer, (ow_BaseCommand*)object, pool);   
-   SUCCESS_CHECK(ow_unmarshal_cached_object(buffer, bitbuffer, (ow_DataStructure**)&object->producerId, pool));
-   SUCCESS_CHECK(ow_unmarshal_cached_object(buffer, bitbuffer, (ow_DataStructure**)&object->destination, pool));
-   SUCCESS_CHECK(ow_unmarshal_cached_object(buffer, bitbuffer, (ow_DataStructure**)&object->transactionId, pool));
-   SUCCESS_CHECK(ow_unmarshal_cached_object(buffer, bitbuffer, (ow_DataStructure**)&object->originalDestination, pool));
-   SUCCESS_CHECK(ow_unmarshal_nested_object(buffer, bitbuffer, (ow_DataStructure**)&object->messageId, pool));
-   SUCCESS_CHECK(ow_unmarshal_cached_object(buffer, bitbuffer, (ow_DataStructure**)&object->originalTransactionId, pool));
-   SUCCESS_CHECK(ow_unmarshal_string(buffer, bitbuffer, &object->groupID, pool));
-   SUCCESS_CHECK(ow_byte_array_read_int(buffer, &object->groupSequence));
-   SUCCESS_CHECK(ow_unmarshal_string(buffer, bitbuffer, &object->correlationId, pool));
-   object->persistent = ow_bit_buffer_read(bitbuffer);
-   SUCCESS_CHECK(ow_unmarshal_long(buffer, bitbuffer, &object->expiration, pool));
-   SUCCESS_CHECK(ow_byte_array_read_byte(buffer, &object->priority));
-   SUCCESS_CHECK(ow_unmarshal_nested_object(buffer, bitbuffer, (ow_DataStructure**)&object->replyTo, pool));
-   SUCCESS_CHECK(ow_unmarshal_long(buffer, bitbuffer, &object->timestamp, pool));
-   SUCCESS_CHECK(ow_unmarshal_string(buffer, bitbuffer, &object->type, pool));
-   SUCCESS_CHECK(ow_unmarshal_byte_array(buffer, bitbuffer, &object->content, pool));
-   SUCCESS_CHECK(ow_unmarshal_byte_array(buffer, bitbuffer, &object->marshalledProperties, pool));
-   SUCCESS_CHECK(ow_unmarshal_nested_object(buffer, bitbuffer, (ow_DataStructure**)&object->dataStructure, pool));
-   SUCCESS_CHECK(ow_unmarshal_cached_object(buffer, bitbuffer, (ow_DataStructure**)&object->targetConsumerId, pool));
-   object->compressed = ow_bit_buffer_read(bitbuffer);
-   SUCCESS_CHECK(ow_byte_array_read_int(buffer, &object->redeliveryCounter));
-   SUCCESS_CHECK(ow_unmarshal_DataStructure_array(buffer, bitbuffer, &object->brokerPath, pool));
-   SUCCESS_CHECK(ow_unmarshal_long(buffer, bitbuffer, &object->arrival, pool));
-   SUCCESS_CHECK(ow_unmarshal_string(buffer, bitbuffer, &object->userID, pool));
-   object->recievedByDFBridge = ow_bit_buffer_read(bitbuffer);
+   ow_unmarshal_DataStructure(buffer, bitbuffer, (ow_DataStructure*)object, pool);   
+   SUCCESS_CHECK(ow_unmarshal_string(buffer, bitbuffer, &object->connectionId, pool));
+   SUCCESS_CHECK(ow_unmarshal_long(buffer, bitbuffer, &object->sessionId, pool));
+   SUCCESS_CHECK(ow_unmarshal_long(buffer, bitbuffer, &object->value, pool));
    
 	return APR_SUCCESS;
 }
 
-ow_boolean ow_is_a_BaseCommand(ow_DataStructure *object) {
+ow_boolean ow_is_a_ActiveMQTextMessage(ow_DataStructure *object) {
    if( object == 0 )
       return 0;
       
    switch(object->structType) {
-   case OW_BROKERINFO_TYPE:
-   case OW_REMOVESUBSCRIPTIONINFO_TYPE:
-   case OW_INTEGERRESPONSE_TYPE:
-   case OW_DESTINATIONINFO_TYPE:
-   case OW_ACTIVEMQBYTESMESSAGE_TYPE:
-   case OW_SHUTDOWNINFO_TYPE:
-   case OW_DATARESPONSE_TYPE:
-   case OW_DATAARRAYRESPONSE_TYPE:
-   case OW_RESPONSE_TYPE:
-   case OW_CONNECTIONERROR_TYPE:
-   case OW_ACTIVEMQOBJECTMESSAGE_TYPE:
-   case OW_CONSUMERINFO_TYPE:
-   case OW_CONNECTIONINFO_TYPE:
-   case OW_FLUSHCOMMAND_TYPE:
    case OW_ACTIVEMQTEXTMESSAGE_TYPE:
-   case OW_MESSAGEDISPATCH_TYPE:
-   case OW_PRODUCERINFO_TYPE:
-   case OW_ACTIVEMQMAPMESSAGE_TYPE:
-   case OW_MESSAGEDISPATCHNOTIFICATION_TYPE:
-   case OW_SESSIONINFO_TYPE:
-   case OW_ACTIVEMQMESSAGE_TYPE:
-   case OW_TRANSACTIONINFO_TYPE:
-   case OW_ACTIVEMQSTREAMMESSAGE_TYPE:
-   case OW_MESSAGEACK_TYPE:
-   case OW_REMOVEINFO_TYPE:
-   case OW_CONTROLCOMMAND_TYPE:
-   case OW_EXCEPTIONRESPONSE_TYPE:
       return 1;
    }
    return 0;
 }
 
 
-apr_status_t ow_marshal1_BaseCommand(ow_bit_buffer *buffer, ow_BaseCommand *object)
+ow_ActiveMQTextMessage *ow_ActiveMQTextMessage_create(apr_pool_t *pool) 
 {
-   ow_marshal1_DataStructure(buffer, (ow_DataStructure*)object);
-   
-   ow_bit_buffer_append(buffer, object->responseRequired);
+   ow_ActiveMQTextMessage *value = apr_pcalloc(pool,sizeof(ow_ActiveMQTextMessage));
+   if( value!=0 ) {
+      ((ow_DataStructure*)value)->structType = OW_ACTIVEMQTEXTMESSAGE_TYPE;
+   }
+   return value;
+}
+
+
+apr_status_t ow_marshal1_ActiveMQTextMessage(ow_bit_buffer *buffer, ow_ActiveMQTextMessage *object)
+{
+   ow_marshal1_ActiveMQMessage(buffer, (ow_ActiveMQMessage*)object);
    
 	return APR_SUCCESS;
 }
-apr_status_t ow_marshal2_BaseCommand(ow_byte_buffer *buffer, ow_bit_buffer *bitbuffer, ow_BaseCommand *object)
+apr_status_t ow_marshal2_ActiveMQTextMessage(ow_byte_buffer *buffer, ow_bit_buffer *bitbuffer, ow_ActiveMQTextMessage *object)
 {
-   ow_marshal2_DataStructure(buffer, bitbuffer, (ow_DataStructure*)object);   
-   SUCCESS_CHECK(ow_byte_buffer_append_short(buffer, object->commandId));
-   ow_bit_buffer_read(bitbuffer);
+   ow_marshal2_ActiveMQMessage(buffer, bitbuffer, (ow_ActiveMQMessage*)object);   
    
 	return APR_SUCCESS;
 }
 
-apr_status_t ow_unmarshal_BaseCommand(ow_byte_array *buffer, ow_bit_buffer *bitbuffer, ow_BaseCommand *object, apr_pool_t *pool)
+apr_status_t ow_unmarshal_ActiveMQTextMessage(ow_byte_array *buffer, ow_bit_buffer *bitbuffer, ow_ActiveMQTextMessage *object, apr_pool_t *pool)
 {
-   ow_unmarshal_DataStructure(buffer, bitbuffer, (ow_DataStructure*)object, pool);   
-   SUCCESS_CHECK(ow_byte_array_read_short(buffer, &object->commandId));
-   object->responseRequired = ow_bit_buffer_read(bitbuffer);
+   ow_unmarshal_ActiveMQMessage(buffer, bitbuffer, (ow_ActiveMQMessage*)object, pool);   
    
 	return APR_SUCCESS;
 }
 
-ow_boolean ow_is_a_XATransactionId(ow_DataStructure *object) {
+ow_boolean ow_is_a_SubscriptionInfo(ow_DataStructure *object) {
    if( object == 0 )
       return 0;
       
    switch(object->structType) {
-   case OW_XATRANSACTIONID_TYPE:
+   case OW_SUBSCRIPTIONINFO_TYPE:
       return 1;
    }
    return 0;
 }
 
 

[... 1969 lines stripped ...]


Mime
View raw message