blob: c9251c7d5100d7a6aa254d065f841fcd554e0a22 [file] [log] [blame]
/**
* 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.broker;
import org.apache.activemq.broker.region.Destination;
import org.apache.activemq.broker.region.Region;
import org.apache.activemq.broker.region.Subscription;
/**
* Holds internal state in the broker for a essageConsumer
*
*
*/
public class ConsumerBrokerExchange {
private ConnectionContext connectionContext;
private Destination regionDestination;
private Region region;
private Subscription subscription;
private boolean wildcard;
/**
* @return the connectionContext
*/
public ConnectionContext getConnectionContext() {
return this.connectionContext;
}
/**
* @param connectionContext the connectionContext to set
*/
public void setConnectionContext(ConnectionContext connectionContext) {
this.connectionContext = connectionContext;
}
/**
* @return the region
*/
public Region getRegion() {
return this.region;
}
/**
* @param region the region to set
*/
public void setRegion(Region region) {
this.region = region;
}
/**
* @return the regionDestination
*/
public Destination getRegionDestination() {
return this.regionDestination;
}
/**
* @param regionDestination the regionDestination to set
*/
public void setRegionDestination(Destination regionDestination) {
this.regionDestination = regionDestination;
}
/**
* @return the subscription
*/
public Subscription getSubscription() {
return this.subscription;
}
/**
* @param subscription the subscription to set
*/
public void setSubscription(Subscription subscription) {
this.subscription = subscription;
}
/**
* @return the wildcard
*/
public boolean isWildcard() {
return this.wildcard;
}
/**
* @param wildcard the wildcard to set
*/
public void setWildcard(boolean wildcard) {
this.wildcard = wildcard;
}
}