protected boolean isPermissableDestination(ActiveMQDestination destination) { return isPermissableDestination(destination, false); }
/** * Subscriptions for these destinations are always created */ protected void setupStaticDestinations() { ActiveMQDestination[] dests = staticallyIncludedDestinations; if (dests != null) { for (ActiveMQDestination dest : dests) { if (isPermissableDestination(dest)) { DemandSubscription sub = createDemandSubscription(dest, null); if (sub != null) { sub.setStaticallyIncluded(true); try { addSubscription(sub); } catch (IOException e) { LOG.error("Failed to add static destination {}", dest, e); } LOG.trace("{}, bridging messages for static destination: {}", configuration.getBrokerName(), dest); } else { LOG.info("{}, static destination excluded: {}, demand already exists", configuration.getBrokerName(), dest); } } else { LOG.info("{}, static destination excluded: {}", configuration.getBrokerName(), dest); } } } }
if (!isPermissableDestination(info.getDestination())) {
if (isPermissableDestination(md.getDestination())) { if (message.isPersistent() || configuration.isAlwaysSyncSend()) {
ackAdvisory(message); } else { if (!isPermissableDestination(message.getDestination(), true)) { return;
protected boolean isPermissableDestination(ActiveMQDestination destination) { return isPermissableDestination(destination, false); }
protected boolean isPermissableDestination(ActiveMQDestination destination) { return isPermissableDestination(destination, false); }
protected boolean isPermissableDestination(ActiveMQDestination destination) { return isPermissableDestination(destination, false); }
protected boolean isPermissableDestination(ActiveMQDestination destination) { return isPermissableDestination(destination, false); }
/** * Subscriptions for these destinations are always created */ protected void setupStaticDestinations() { ActiveMQDestination[] dests = staticallyIncludedDestinations; if (dests != null) { for (ActiveMQDestination dest : dests) { if (isPermissableDestination(dest)) { DemandSubscription sub = createDemandSubscription(dest, null); if (sub != null) { sub.setStaticallyIncluded(true); try { addSubscription(sub); } catch (IOException e) { LOG.error("Failed to add static destination {}", dest, e); } LOG.trace("{}, bridging messages for static destination: {}", configuration.getBrokerName(), dest); } else { LOG.info("{}, static destination excluded: {}, demand already exists", configuration.getBrokerName(), dest); } } else { LOG.info("{}, static destination excluded: {}", configuration.getBrokerName(), dest); } } } }
/** * Subscriptions for these destinations are always created */ protected void setupStaticDestinations() { ActiveMQDestination[] dests = staticallyIncludedDestinations; if (dests != null) { for (ActiveMQDestination dest : dests) { if (isPermissableDestination(dest)) { DemandSubscription sub = createDemandSubscription(dest, null); if (sub != null) { sub.setStaticallyIncluded(true); try { addSubscription(sub); } catch (IOException e) { LOG.error("Failed to add static destination {}", dest, e); } LOG.trace("{}, bridging messages for static destination: {}", configuration.getBrokerName(), dest); } else { LOG.info("{}, static destination excluded: {}, demand already exists", configuration.getBrokerName(), dest); } } else { LOG.info("{}, static destination excluded: {}", configuration.getBrokerName(), dest); } } } }
/** * Subscriptions for these destinations are always created */ protected void setupStaticDestinations() { ActiveMQDestination[] dests = staticallyIncludedDestinations; if (dests != null) { for (ActiveMQDestination dest : dests) { if (isPermissableDestination(dest)) { DemandSubscription sub = createDemandSubscription(dest, null); if (sub != null) { sub.setStaticallyIncluded(true); try { addSubscription(sub); } catch (IOException e) { LOG.error("Failed to add static destination {}", dest, e); } LOG.trace("{}, bridging messages for static destination: {}", configuration.getBrokerName(), dest); } else { LOG.info("{}, static destination excluded: {}, demand already exists", configuration.getBrokerName(), dest); } } else { LOG.info("{}, static destination excluded: {}", configuration.getBrokerName(), dest); } } } }
if (!isPermissableDestination(info.getDestination())) {
if (!isPermissableDestination(info.getDestination())) {
serviceRemoteConsumerAdvisory(message.getDataStructure()); } else { if (!isPermissableDestination(message.getDestination(), true)) { return;
if (!isPermissableDestination(info.getDestination())) {
if (!isPermissableDestination(info.getDestination())) {
if (isPermissableDestination(md.getDestination())) { if (message.isPersistent() || configuration.isAlwaysSyncSend()) {
if (isPermissableDestination(md.getDestination())) { if (message.isPersistent() || configuration.isAlwaysSyncSend()) {
if (isPermissableDestination(md.getDestination())) { if (message.isPersistent() || configuration.isAlwaysSyncSend()) {