public String getTopicName() throws JMSException { return getPhysicalName(); }
protected String getTopicUri(ActiveMQTopic topic) { return "activemq:topic:" + topic.getPhysicalName(); }
protected String getTopicUri(ActiveMQTopic topic) { return "activemq:topic:" + topic.getPhysicalName(); }
public String getTopicName() throws JMSException { return getPhysicalName(); }
public String getTopicName() throws JMSException { return getPhysicalName(); }
public String getTopicName() throws JMSException { return getPhysicalName(); }
public String getTopicName() throws JMSException { return getPhysicalName(); }
public TopicExpressionType toTopicExpression(ActiveMQTopic topic) { return toTopicExpression(topic.getPhysicalName()); }
public TopicReferenceStore createTopicReferenceStore(ActiveMQTopic destination) throws IOException { TopicReferenceStore rc = (TopicReferenceStore)topics.get(destination); if (rc == null) { Store store = getStore(); MapContainer messageContainer = getMapReferenceContainer(destination.getPhysicalName(), "topic-data"); MapContainer subsContainer = getSubsMapContainer(destination.getPhysicalName() + "-Subscriptions", "blob"); ListContainer<TopicSubAck> ackContainer = store.getListContainer(destination.getPhysicalName(), "topic-acks"); ackContainer.setMarshaller(new TopicSubAckMarshaller()); rc = new KahaTopicReferenceStore(store, this, messageContainer, ackContainer, subsContainer, destination); messageStores.put(destination, rc); // if(transactionStore!=null){ // rc=transactionStore.proxy(rc); // } topics.put(destination, rc); } return rc; }
protected void addTopic(ActiveMQTopic topic) throws Exception { String topicUri = getTopicUri(topic); ActiveMQComponent jmsComponent = getComponent(); Endpoint endpoint = new JmsEndpoint(topicUri, jmsComponent, topic.getPhysicalName(), true, jmsComponent.getConfiguration()); camelContext.addEndpoint(topicUri, endpoint); }
protected void addTopic(ActiveMQTopic topic) throws Exception { String topicUri = getTopicUri(topic); ActiveMQComponent jmsComponent = getComponent(); Endpoint endpoint = new JmsEndpoint(topicUri, jmsComponent, topic.getPhysicalName(), true, jmsComponent.getConfiguration()); camelContext.addEndpoint(topicUri, endpoint); }