本文整理了Java中org.apache.activemq.broker.region.Queue.getMessageGroupOwners
方法的一些代码示例,展示了Queue.getMessageGroupOwners
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Queue.getMessageGroupOwners
方法的具体详情如下:
包路径:org.apache.activemq.broker.region.Queue
类名称:Queue
方法名:getMessageGroupOwners
暂无
代码示例来源:origin: apache/activemq
/**
* @return a Map of groupNames and ConsumerIds
*/
@Override
public Map<String, String> getMessageGroups() {
Queue queue = (Queue) destination;
return queue.getMessageGroupOwners().getGroups();
}
代码示例来源:origin: apache/activemq
/**
* remove all the message groups - will rebalance all message groups across consumers
*/
@Override
public void removeAllMessageGroups() {
Queue queue = (Queue) destination;
queue.getMessageGroupOwners().removeAll();
}
代码示例来源:origin: apache/activemq
/**
* @return the message group type implementation (simple,bucket,cached)
*/
@Override
public String getMessageGroupType() {
Queue queue = (Queue) destination;
return queue.getMessageGroupOwners().getType();
}
代码示例来源:origin: apache/activemq
/**
* remove a message group = has the effect of rebalancing group
*/
@Override
public void removeMessageGroup(@MBeanInfo("groupName") String groupName) {
Queue queue = (Queue) destination;
queue.getMessageGroupOwners().removeGroup(groupName);
}
代码示例来源:origin: apache/activemq
getMessageGroupOwners().removeConsumer(consumerId);
代码示例来源:origin: apache/activemq
if (groupId != null) {
MessageGroupMap messageGroupOwners = getMessageGroupOwners();
代码示例来源:origin: org.apache.activemq/activemq-all
/**
* @return the message group type implementation (simple,bucket,cached)
*/
@Override
public String getMessageGroupType() {
Queue queue = (Queue) destination;
return queue.getMessageGroupOwners().getType();
}
代码示例来源:origin: org.apache.activemq/activemq-all
/**
* remove all the message groups - will rebalance all message groups across consumers
*/
@Override
public void removeAllMessageGroups() {
Queue queue = (Queue) destination;
queue.getMessageGroupOwners().removeAll();
}
代码示例来源:origin: org.apache.activemq/activemq-osgi
/**
* @return a Map of groupNames and ConsumerIds
*/
@Override
public Map<String, String> getMessageGroups() {
Queue queue = (Queue) destination;
return queue.getMessageGroupOwners().getGroups();
}
代码示例来源:origin: org.apache.activemq/activemq-osgi
/**
* @return the message group type implementation (simple,bucket,cached)
*/
@Override
public String getMessageGroupType() {
Queue queue = (Queue) destination;
return queue.getMessageGroupOwners().getType();
}
代码示例来源:origin: org.apache.activemq/activemq-broker
/**
* @return a Map of groupNames and ConsumerIds
*/
@Override
public Map<String, String> getMessageGroups() {
Queue queue = (Queue) destination;
return queue.getMessageGroupOwners().getGroups();
}
代码示例来源:origin: org.apache.activemq/activemq-broker
/**
* @return the message group type implementation (simple,bucket,cached)
*/
@Override
public String getMessageGroupType() {
Queue queue = (Queue) destination;
return queue.getMessageGroupOwners().getType();
}
代码示例来源:origin: org.apache.activemq/activemq-broker
/**
* remove all the message groups - will rebalance all message groups across consumers
*/
@Override
public void removeAllMessageGroups() {
Queue queue = (Queue) destination;
queue.getMessageGroupOwners().removeAll();
}
代码示例来源:origin: org.apache.activemq/activemq-all
/**
* @return a Map of groupNames and ConsumerIds
*/
@Override
public Map<String, String> getMessageGroups() {
Queue queue = (Queue) destination;
return queue.getMessageGroupOwners().getGroups();
}
代码示例来源:origin: org.apache.activemq/activemq-osgi
/**
* remove all the message groups - will rebalance all message groups across consumers
*/
@Override
public void removeAllMessageGroups() {
Queue queue = (Queue) destination;
queue.getMessageGroupOwners().removeAll();
}
代码示例来源:origin: org.apache.activemq/activemq-all
/**
* remove a message group = has the effect of rebalancing group
*/
@Override
public void removeMessageGroup(@MBeanInfo("groupName") String groupName) {
Queue queue = (Queue) destination;
queue.getMessageGroupOwners().removeGroup(groupName);
}
代码示例来源:origin: org.apache.activemq/activemq-broker
/**
* remove a message group = has the effect of rebalancing group
*/
@Override
public void removeMessageGroup(@MBeanInfo("groupName") String groupName) {
Queue queue = (Queue) destination;
queue.getMessageGroupOwners().removeGroup(groupName);
}
代码示例来源:origin: org.apache.activemq/activemq-osgi
/**
* remove a message group = has the effect of rebalancing group
*/
@Override
public void removeMessageGroup(@MBeanInfo("groupName") String groupName) {
Queue queue = (Queue) destination;
queue.getMessageGroupOwners().removeGroup(groupName);
}
代码示例来源:origin: org.apache.activemq/activemq-all
if (groupId != null) {
MessageGroupMap messageGroupOwners = getMessageGroupOwners();
代码示例来源:origin: org.apache.activemq/activemq-broker
if (groupId != null) {
MessageGroupMap messageGroupOwners = getMessageGroupOwners();
内容来源于网络,如有侵权,请联系作者删除!