Package org.apache.activemq.command

Examples of org.apache.activemq.command.JournalTopicAck


     * @throws IOException
     */
    public void looseUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn) throws IOException {
        super.looseUnmarshal(wireFormat, o, dataIn);

        JournalTopicAck info = (JournalTopicAck)o;
        info.setDestination((org.apache.activemq.command.ActiveMQDestination)looseUnmarsalNestedObject(wireFormat, dataIn));
        info.setMessageId((org.apache.activemq.command.MessageId)looseUnmarsalNestedObject(wireFormat, dataIn));
        info.setMessageSequenceId(looseUnmarshalLong(wireFormat, dataIn));
        info.setSubscritionName(looseUnmarshalString(dataIn));
        info.setClientId(looseUnmarshalString(dataIn));
        info.setTransactionId((org.apache.activemq.command.TransactionId)looseUnmarsalNestedObject(wireFormat, dataIn));

    }
View Full Code Here


    /**
     * Write the booleans that this object uses to a BooleanStream
     */
    public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException {

        JournalTopicAck info = (JournalTopicAck)o;

        super.looseMarshal(wireFormat, o, dataOut);
        looseMarshalNestedObject(wireFormat, (DataStructure)info.getDestination(), dataOut);
        looseMarshalNestedObject(wireFormat, (DataStructure)info.getMessageId(), dataOut);
        looseMarshalLong(wireFormat, info.getMessageSequenceId(), dataOut);
        looseMarshalString(info.getSubscritionName(), dataOut);
        looseMarshalString(info.getClientId(), dataOut);
        looseMarshalNestedObject(wireFormat, (DataStructure)info.getTransactionId(), dataOut);

    }
View Full Code Here

public class JournalTopicAckTest extends DataFileGeneratorTestSupport {

    public static final JournalTopicAckTest SINGLETON = new JournalTopicAckTest();

    public Object createObject() throws Exception {
        JournalTopicAck info = new JournalTopicAck();
        populateObject(info);
        return info;
    }
View Full Code Here

        return info;
    }

    protected void populateObject(Object object) throws Exception {
        super.populateObject(object);
        JournalTopicAck info = (JournalTopicAck)object;
        info.setDestination(createActiveMQDestination("Destination:1"));
        info.setMessageId(createMessageId("MessageId:2"));
        info.setMessageSequenceId(1);
        info.setSubscritionName("SubscritionName:3");
        info.setClientId("ClientId:4");
        info.setTransactionId(createTransactionId("TransactionId:5"));

    }
View Full Code Here


    public static final JournalTopicAckTest SINGLETON = new JournalTopicAckTest();

    public Object createObject() throws Exception {
        JournalTopicAck info = new JournalTopicAck();
        populateObject(info);
        return info;
    }
View Full Code Here

        return info;
    }

    protected void populateObject(Object object) throws Exception {
        super.populateObject(object);
        JournalTopicAck info = (JournalTopicAck) object;

        info.setDestination(createActiveMQDestination("Destination:1"));
        info.setMessageId(createMessageId("MessageId:2"));
        info.setMessageSequenceId(1);
        info.setSubscritionName("SubscritionName:3");
        info.setClientId("ClientId:4");
        info.setTransactionId(createTransactionId("TransactionId:5"));
    }
View Full Code Here

TOP

Related Classes of org.apache.activemq.command.JournalTopicAck

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.