/* 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. */ // Marshalling code for Open Wire Format // // // NOTE!: This file is autogenerated - do not modify! // if you need to make a change, please see the Groovy scripts in the // activemq-openwire module // #include #include "marshal/MarshallerFactory.h" using std::auto_ptr; #include "marshal/LocalTransactionIdMarshaller.h" #include "marshal/PartialCommandMarshaller.h" #include "marshal/IntegerResponseMarshaller.h" #include "marshal/ActiveMQQueueMarshaller.h" #include "marshal/ActiveMQObjectMessageMarshaller.h" #include "marshal/ConnectionIdMarshaller.h" #include "marshal/ConnectionInfoMarshaller.h" #include "marshal/ProducerInfoMarshaller.h" #include "marshal/MessageDispatchNotificationMarshaller.h" #include "marshal/SessionInfoMarshaller.h" #include "marshal/TransactionInfoMarshaller.h" #include "marshal/ActiveMQStreamMessageMarshaller.h" #include "marshal/MessageAckMarshaller.h" #include "marshal/ProducerIdMarshaller.h" #include "marshal/MessageIdMarshaller.h" #include "marshal/ActiveMQTempQueueMarshaller.h" #include "marshal/RemoveSubscriptionInfoMarshaller.h" #include "marshal/SessionIdMarshaller.h" #include "marshal/DataArrayResponseMarshaller.h" #include "marshal/JournalQueueAckMarshaller.h" #include "marshal/ResponseMarshaller.h" #include "marshal/ConnectionErrorMarshaller.h" #include "marshal/ConsumerInfoMarshaller.h" #include "marshal/XATransactionIdMarshaller.h" #include "marshal/JournalTraceMarshaller.h" #include "marshal/ConsumerIdMarshaller.h" #include "marshal/ActiveMQTextMessageMarshaller.h" #include "marshal/SubscriptionInfoMarshaller.h" #include "marshal/JournalTransactionMarshaller.h" #include "marshal/ControlCommandMarshaller.h" #include "marshal/LastPartialCommandMarshaller.h" #include "marshal/NetworkBridgeFilterMarshaller.h" #include "marshal/ActiveMQBytesMessageMarshaller.h" #include "marshal/WireFormatInfoMarshaller.h" #include "marshal/ActiveMQTempTopicMarshaller.h" #include "marshal/DiscoveryEventMarshaller.h" #include "marshal/ReplayCommandMarshaller.h" #include "marshal/ActiveMQTopicMarshaller.h" #include "marshal/BrokerInfoMarshaller.h" #include "marshal/DestinationInfoMarshaller.h" #include "marshal/ShutdownInfoMarshaller.h" #include "marshal/DataResponseMarshaller.h" #include "marshal/ConnectionControlMarshaller.h" #include "marshal/KeepAliveInfoMarshaller.h" #include "marshal/FlushCommandMarshaller.h" #include "marshal/ConsumerControlMarshaller.h" #include "marshal/JournalTopicAckMarshaller.h" #include "marshal/BrokerIdMarshaller.h" #include "marshal/MessageDispatchMarshaller.h" #include "marshal/ActiveMQMapMessageMarshaller.h" #include "marshal/ActiveMQMessageMarshaller.h" #include "marshal/RemoveInfoMarshaller.h" #include "marshal/ExceptionResponseMarshaller.h" using namespace ActiveMQ::Marshalling; void MarshallerFactory::configure(ProtocolFormat& format) { format.addMarshaller(auto_ptr(new LocalTransactionIdMarshaller())); format.addMarshaller(auto_ptr(new PartialCommandMarshaller())); format.addMarshaller(auto_ptr(new IntegerResponseMarshaller())); format.addMarshaller(auto_ptr(new ActiveMQQueueMarshaller())); format.addMarshaller(auto_ptr(new ActiveMQObjectMessageMarshaller())); format.addMarshaller(auto_ptr(new ConnectionIdMarshaller())); format.addMarshaller(auto_ptr(new ConnectionInfoMarshaller())); format.addMarshaller(auto_ptr(new ProducerInfoMarshaller())); format.addMarshaller(auto_ptr(new MessageDispatchNotificationMarshaller())); format.addMarshaller(auto_ptr(new SessionInfoMarshaller())); format.addMarshaller(auto_ptr(new TransactionInfoMarshaller())); format.addMarshaller(auto_ptr(new ActiveMQStreamMessageMarshaller())); format.addMarshaller(auto_ptr(new MessageAckMarshaller())); format.addMarshaller(auto_ptr(new ProducerIdMarshaller())); format.addMarshaller(auto_ptr(new MessageIdMarshaller())); format.addMarshaller(auto_ptr(new ActiveMQTempQueueMarshaller())); format.addMarshaller(auto_ptr(new RemoveSubscriptionInfoMarshaller())); format.addMarshaller(auto_ptr(new SessionIdMarshaller())); format.addMarshaller(auto_ptr(new DataArrayResponseMarshaller())); format.addMarshaller(auto_ptr(new JournalQueueAckMarshaller())); format.addMarshaller(auto_ptr(new ResponseMarshaller())); format.addMarshaller(auto_ptr(new ConnectionErrorMarshaller())); format.addMarshaller(auto_ptr(new ConsumerInfoMarshaller())); format.addMarshaller(auto_ptr(new XATransactionIdMarshaller())); format.addMarshaller(auto_ptr(new JournalTraceMarshaller())); format.addMarshaller(auto_ptr(new ConsumerIdMarshaller())); format.addMarshaller(auto_ptr(new ActiveMQTextMessageMarshaller())); format.addMarshaller(auto_ptr(new SubscriptionInfoMarshaller())); format.addMarshaller(auto_ptr(new JournalTransactionMarshaller())); format.addMarshaller(auto_ptr(new ControlCommandMarshaller())); format.addMarshaller(auto_ptr(new LastPartialCommandMarshaller())); format.addMarshaller(auto_ptr(new NetworkBridgeFilterMarshaller())); format.addMarshaller(auto_ptr(new ActiveMQBytesMessageMarshaller())); format.addMarshaller(auto_ptr(new WireFormatInfoMarshaller())); format.addMarshaller(auto_ptr(new ActiveMQTempTopicMarshaller())); format.addMarshaller(auto_ptr(new DiscoveryEventMarshaller())); format.addMarshaller(auto_ptr(new ReplayCommandMarshaller())); format.addMarshaller(auto_ptr(new ActiveMQTopicMarshaller())); format.addMarshaller(auto_ptr(new BrokerInfoMarshaller())); format.addMarshaller(auto_ptr(new DestinationInfoMarshaller())); format.addMarshaller(auto_ptr(new ShutdownInfoMarshaller())); format.addMarshaller(auto_ptr(new DataResponseMarshaller())); format.addMarshaller(auto_ptr(new ConnectionControlMarshaller())); format.addMarshaller(auto_ptr(new KeepAliveInfoMarshaller())); format.addMarshaller(auto_ptr(new FlushCommandMarshaller())); format.addMarshaller(auto_ptr(new ConsumerControlMarshaller())); format.addMarshaller(auto_ptr(new JournalTopicAckMarshaller())); format.addMarshaller(auto_ptr(new BrokerIdMarshaller())); format.addMarshaller(auto_ptr(new MessageDispatchMarshaller())); format.addMarshaller(auto_ptr(new ActiveMQMapMessageMarshaller())); format.addMarshaller(auto_ptr(new ActiveMQMessageMarshaller())); format.addMarshaller(auto_ptr(new RemoveInfoMarshaller())); format.addMarshaller(auto_ptr(new ExceptionResponseMarshaller())); }