home | career | drupal | java | mac | mysql | perl | scala | uml | unix  

ActiveMQ example source code file (CommandVisitorAdapter.java)

This example ActiveMQ source code file (CommandVisitorAdapter.java) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - ActiveMQ tags/keywords

commandvisitor, commandvisitor, commandvisitoradapter, commandvisitoradapter, exception, exception, response, response

The ActiveMQ CommandVisitorAdapter.java source code

/**
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.apache.activemq.state;

import org.apache.activemq.command.BrokerInfo;
import org.apache.activemq.command.ConnectionControl;
import org.apache.activemq.command.ConnectionError;
import org.apache.activemq.command.ConnectionId;
import org.apache.activemq.command.ConnectionInfo;
import org.apache.activemq.command.ConsumerControl;
import org.apache.activemq.command.ConsumerId;
import org.apache.activemq.command.ConsumerInfo;
import org.apache.activemq.command.ControlCommand;
import org.apache.activemq.command.DestinationInfo;
import org.apache.activemq.command.FlushCommand;
import org.apache.activemq.command.KeepAliveInfo;
import org.apache.activemq.command.Message;
import org.apache.activemq.command.MessageAck;
import org.apache.activemq.command.MessageDispatch;
import org.apache.activemq.command.MessageDispatchNotification;
import org.apache.activemq.command.MessagePull;
import org.apache.activemq.command.ProducerAck;
import org.apache.activemq.command.ProducerId;
import org.apache.activemq.command.ProducerInfo;
import org.apache.activemq.command.RemoveSubscriptionInfo;
import org.apache.activemq.command.Response;
import org.apache.activemq.command.SessionId;
import org.apache.activemq.command.SessionInfo;
import org.apache.activemq.command.ShutdownInfo;
import org.apache.activemq.command.TransactionInfo;
import org.apache.activemq.command.WireFormatInfo;

public class CommandVisitorAdapter implements CommandVisitor {

    public Response processAddConnection(ConnectionInfo info) throws Exception {
        return null;
    }

    public Response processAddConsumer(ConsumerInfo info) throws Exception {
        return null;
    }

    public Response processAddDestination(DestinationInfo info) throws Exception {
        return null;
    }

    public Response processAddProducer(ProducerInfo info) throws Exception {
        return null;
    }

    public Response processAddSession(SessionInfo info) throws Exception {
        return null;
    }

    public Response processBeginTransaction(TransactionInfo info) throws Exception {
        return null;
    }

    public Response processBrokerInfo(BrokerInfo info) throws Exception {
        return null;
    }

    public Response processCommitTransactionOnePhase(TransactionInfo info) throws Exception {
        return null;
    }

    public Response processCommitTransactionTwoPhase(TransactionInfo info) throws Exception {
        return null;
    }

    public Response processEndTransaction(TransactionInfo info) throws Exception {
        return null;
    }

    public Response processFlush(FlushCommand command) throws Exception {
        return null;
    }

    public Response processForgetTransaction(TransactionInfo info) throws Exception {
        return null;
    }

    public Response processKeepAlive(KeepAliveInfo info) throws Exception {
        return null;
    }

    public Response processMessage(Message send) throws Exception {
        return null;
    }

    public Response processMessageAck(MessageAck ack) throws Exception {
        return null;
    }

    public Response processMessageDispatchNotification(MessageDispatchNotification notification)
        throws Exception {
        return null;
    }

    public Response processMessagePull(MessagePull pull) throws Exception {
        return null;
    }

    public Response processPrepareTransaction(TransactionInfo info) throws Exception {
        return null;
    }

    public Response processProducerAck(ProducerAck ack) throws Exception {
        return null;
    }

    public Response processRecoverTransactions(TransactionInfo info) throws Exception {
        return null;
    }

    public Response processRemoveConnection(ConnectionId id, long lastDeliveredSequenceId) throws Exception {
        return null;
    }

    public Response processRemoveConsumer(ConsumerId id, long lastDeliveredSequenceId) throws Exception {
        return null;
    }

    public Response processRemoveDestination(DestinationInfo info) throws Exception {
        return null;
    }

    public Response processRemoveProducer(ProducerId id) throws Exception {
        return null;
    }

    public Response processRemoveSession(SessionId id, long lastDeliveredSequenceId) throws Exception {
        return null;
    }

    public Response processRemoveSubscription(RemoveSubscriptionInfo info) throws Exception {
        return null;
    }

    public Response processRollbackTransaction(TransactionInfo info) throws Exception {
        return null;
    }

    public Response processShutdown(ShutdownInfo info) throws Exception {
        return null;
    }

    public Response processWireFormat(WireFormatInfo info) throws Exception {
        return null;
    }

    public Response processMessageDispatch(MessageDispatch dispatch) throws Exception {
        return null;
    }

    public Response processControlCommand(ControlCommand command) throws Exception {
        return null;
    }

    public Response processConnectionControl(ConnectionControl control) throws Exception {
        return null;
    }

    public Response processConnectionError(ConnectionError error) throws Exception {
        return null;
    }

    public Response processConsumerControl(ConsumerControl control) throws Exception {
        return null;
    }

}

Other ActiveMQ examples (source code examples)

Here is a short list of links related to this ActiveMQ CommandVisitorAdapter.java source code file:

new blog posts

 

Copyright 1998-2016 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.