durable-subscription

Query regarding Spring message-driven-channel-adapter

自古美人都是妖i 提交于 2019-12-14 02:38:51
问题 I am using Spring's message-driven-channel-adapter. My component is consuming message from Tibco Topic and Publishing to RabbitMQ topic So The message flow is as follows: Tibco-> (subscribed by )Component (Published to)-> RabbitMQ The service activator is shown below: as we see there is a input-channel and an output-channel. The bean storeAndForwardActivator will have the business logic (within the method createIssueOfInterestOratorRecord) <int:service-activator input-channel=

Durable Subscription ActiveMQ

三世轮回 提交于 2019-12-13 02:06:28
问题 I am trying to put in place durable subscriber for my messages so that they will get persist in topic even after server restart. But during configuration I am getting error related to xml: Here is my configuration xml: <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" xmlns:int="http://www.springframework.org/schema/integration"

Use case scenario of durable listeners/consumers

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-04 05:51:55
问题 So I am creating concurrent consumers to a topic i.e. multiple listeners. I am configuring them to be durable. @Bean public DefaultMessageListenerContainer listenerContainers() { DefaultMessageListenerContainer container = new DefaultMessageListenerContainer(); container.setConnectionFactory(connectionFactory()); container.setDestinationName(COMMENT_QUEUE); container.setPubSubDomain(true); container.setSessionTransacted(true); container.setConcurrentConsumers(2); container