Hello,
I'm new to spring integration and my app runs in jboss.
this is my integration flow.
inbound-channel-adapter->JMS-input-channel->message-router->direct-channel->service-activator->JMS-output-channel->outbound-channel-adapter
here is my spring config snippet.
searched the forum and couldn't find relevant answers.Code:<bean id="jtaTransactionManager" class="org.springframework.transaction.jta.JtaTransactionManager" /> <tx:annotation-driven transaction-manager="jtaTransactionManager"/> <jee:jndi-lookup id="inboundQueue" jndi-name="activemq/queue/Inbound.Queue"/> <jms:channel id="inboundChannel" queue="inboundQueue" transaction-manager="jtaTransactionManager"/>
1.In the log, I see below line being printed often. what is it?
DEBUG [org.springframework.transaction.jta.JtaTransaction Manager] (DefaultMessageListenerContainer-1) Creating new transaction with name [null]: PROPAGATION_REQUIRED,ISOLATION_DEFAULT
DEBUG [org.springframework.transaction.jta.JtaTransaction Manager] (DefaultMessageListenerContainer-1) Initiating transaction commit
1.how does JMS-input-channel (underlying JMS queue) is affected in case of exceptions in the flow? if there is any error either message-router or direct-channel? will the message be republished? how do I control the transactions for this?
2. same question for JMS-output-channel?
thanks in advance


Reply With Quote