protected Destination getMirrorDestination(Destination destination) throws Exception { if (brokerService == null) { throw new IllegalArgumentException("No brokerService injected!"); } ActiveMQDestination topic = getMirrorTopic(destination.getActiveMQDestination()); return brokerService.getDestination(topic); }
public void remove(Destination destination) { if (brokerService == null) { throw new IllegalArgumentException("No brokerService injected!"); } ActiveMQDestination topic = getMirrorTopic(destination.getActiveMQDestination()); if (topic != null) { try { brokerService.removeDestination(topic); } catch (Exception e) { LOG.error("Failed to remove mirror destination for {}", destination, e); } } }
public void remove(Destination destination) { if (brokerService == null) { throw new IllegalArgumentException("No brokerService injected!"); } ActiveMQDestination topic = getMirrorTopic(destination.getActiveMQDestination()); if (topic != null) { try { brokerService.removeDestination(topic); } catch (Exception e) { LOG.error("Failed to remove mirror destination for {}", destination, e); } } }
public void remove(Destination destination) { if (brokerService == null) { throw new IllegalArgumentException("No brokerService injected!"); } ActiveMQDestination topic = getMirrorTopic(destination.getActiveMQDestination()); if (topic != null) { try { brokerService.removeDestination(topic); } catch (Exception e) { LOG.error("Failed to remove mirror destination for {}", destination, e); } } }
public void remove(Destination destination) { if (brokerService == null) { throw new IllegalArgumentException("No brokerService injected!"); } ActiveMQDestination topic = getMirrorTopic(destination.getActiveMQDestination()); if (topic != null) { try { brokerService.removeDestination(topic); } catch (Exception e) { LOG.error("Failed to remove mirror destination for {}", destination, e); } } }
protected Destination getMirrorDestination(Destination destination) throws Exception { if (brokerService == null) { throw new IllegalArgumentException("No brokerService injected!"); } ActiveMQDestination topic = getMirrorTopic(destination.getActiveMQDestination()); return brokerService.getDestination(topic); }
protected Destination getMirrorDestination(Destination destination) throws Exception { if (brokerService == null) { throw new IllegalArgumentException("No brokerService injected!"); } ActiveMQDestination topic = getMirrorTopic(destination.getActiveMQDestination()); return brokerService.getDestination(topic); }
protected Destination getMirrorDestination(Destination destination) throws Exception { if (brokerService == null) { throw new IllegalArgumentException("No brokerService injected!"); } ActiveMQDestination topic = getMirrorTopic(destination.getActiveMQDestination()); return brokerService.getDestination(topic); }
public void remove(Destination destination) { if (brokerService == null) { throw new IllegalArgumentException("No brokerService injected!"); } ActiveMQDestination topic = getMirrorTopic(destination.getActiveMQDestination()); if (topic != null) { try { brokerService.removeDestination(topic); } catch (Exception e) { LOG.error("Failed to remove mirror destination for " + destination + ". Reason: " + e,e); } } }
protected Destination getMirrorDestination(Destination destination) throws Exception { if (brokerService == null) { throw new IllegalArgumentException("No brokerService injected!"); } ActiveMQDestination topic = getMirrorTopic(destination.getActiveMQDestination()); return brokerService.getDestination(topic); }