public void configure(OpenWireFormat format)
{
format.clearMarshallers();
format.addMarshaller(new ActiveMQBlobMessageMarshaller());
format.addMarshaller(new ActiveMQBytesMessageMarshaller());
format.addMarshaller(new ActiveMQMapMessageMarshaller());
format.addMarshaller(new ActiveMQMessageMarshaller());
format.addMarshaller(new ActiveMQObjectMessageMarshaller());
format.addMarshaller(new ActiveMQQueueMarshaller());
format.addMarshaller(new ActiveMQStreamMessageMarshaller());
format.addMarshaller(new ActiveMQTempQueueMarshaller());
format.addMarshaller(new ActiveMQTempTopicMarshaller());
format.addMarshaller(new ActiveMQTextMessageMarshaller());
format.addMarshaller(new ActiveMQTopicMarshaller());
format.addMarshaller(new BrokerIdMarshaller());
format.addMarshaller(new BrokerInfoMarshaller());
format.addMarshaller(new ConnectionControlMarshaller());
format.addMarshaller(new ConnectionErrorMarshaller());
format.addMarshaller(new ConnectionIdMarshaller());
format.addMarshaller(new ConnectionInfoMarshaller());
format.addMarshaller(new ConsumerControlMarshaller());
format.addMarshaller(new ConsumerIdMarshaller());
format.addMarshaller(new ConsumerInfoMarshaller());
format.addMarshaller(new ControlCommandMarshaller());
format.addMarshaller(new DataArrayResponseMarshaller());
format.addMarshaller(new DataResponseMarshaller());
format.addMarshaller(new DestinationInfoMarshaller());
format.addMarshaller(new DiscoveryEventMarshaller());
format.addMarshaller(new ExceptionResponseMarshaller());
format.addMarshaller(new FlushCommandMarshaller());
format.addMarshaller(new IntegerResponseMarshaller());
format.addMarshaller(new JournalQueueAckMarshaller());
format.addMarshaller(new JournalTopicAckMarshaller());
format.addMarshaller(new JournalTraceMarshaller());
format.addMarshaller(new JournalTransactionMarshaller());
format.addMarshaller(new KeepAliveInfoMarshaller());
format.addMarshaller(new LastPartialCommandMarshaller());
format.addMarshaller(new LocalTransactionIdMarshaller());
format.addMarshaller(new MessageAckMarshaller());
format.addMarshaller(new MessageDispatchMarshaller());
format.addMarshaller(new MessageDispatchNotificationMarshaller());
format.addMarshaller(new MessageIdMarshaller());
format.addMarshaller(new MessagePullMarshaller());
format.addMarshaller(new NetworkBridgeFilterMarshaller());
format.addMarshaller(new PartialCommandMarshaller());
format.addMarshaller(new ProducerAckMarshaller());
format.addMarshaller(new ProducerIdMarshaller());
format.addMarshaller(new ProducerInfoMarshaller());
format.addMarshaller(new RemoveInfoMarshaller());
format.addMarshaller(new RemoveSubscriptionInfoMarshaller());
format.addMarshaller(new ReplayCommandMarshaller());
format.addMarshaller(new ResponseMarshaller());
format.addMarshaller(new SessionIdMarshaller());
format.addMarshaller(new SessionInfoMarshaller());
format.addMarshaller(new ShutdownInfoMarshaller());
format.addMarshaller(new SubscriptionInfoMarshaller());
format.addMarshaller(new TransactionInfoMarshaller());
format.addMarshaller(new WireFormatInfoMarshaller());
format.addMarshaller(new XATransactionIdMarshaller());
}