/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v1.5.17.RELEASE) 2019-04-02 22:23:03.978 INFO 29568 --- [ main] com.redhat.fuse.quickstarts.Application : Starting Application on vkasala-OSX with PID 29568 (/Users/vkasala/Downloads/spring-boot-xa-jpa-jms-redelivery/target/classes started by vkasala in /Users/vkasala/Downloads/spring-boot-xa-jpa-jms-redelivery) 2019-04-02 22:23:03.984 INFO 29568 --- [ main] com.redhat.fuse.quickstarts.Application : No active profile set, falling back to default profiles: default 2019-04-02 22:23:04.032 INFO 29568 --- [ main] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@1d4439c0: startup date [Tue Apr 02 22:23:04 CEST 2019]; root of context hierarchy 2019-04-02 22:23:04.580 INFO 29568 --- [ main] o.s.b.f.xml.XmlBeanDefinitionReader : Loading XML bean definitions from file [/Users/vkasala/Downloads/spring-boot-xa-jpa-jms-redelivery/target/classes/META-INF/spring/xaTransactionJmsComponent.xml] 2019-04-02 22:23:04.697 INFO 29568 --- [ main] o.s.b.f.xml.XmlBeanDefinitionReader : Loading XML bean definitions from file [/Users/vkasala/Downloads/spring-boot-xa-jpa-jms-redelivery/target/classes/META-INF/spring/xaTransactionJmsRoutesUnstableWay.xml] 2019-04-02 22:23:04.845 INFO 29568 --- [ main] o.s.b.f.xml.XmlBeanDefinitionReader : Loading XML bean definitions from class path resource [META-INF/spring/xaTransactionJmsComponent.xml] 2019-04-02 22:23:06.299 INFO 29568 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$169879d7] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2019-04-02 22:23:06.343 INFO 29568 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.apache.camel.spring.boot.CamelAutoConfiguration' of type [org.apache.camel.spring.boot.CamelAutoConfiguration$$EnhancerBySpringCGLIB$$38c23ff6] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2019-04-02 22:23:06.613 INFO 29568 --- [ main] org.xnio : XNIO version 3.3.8.Final 2019-04-02 22:23:06.625 INFO 29568 --- [ main] org.xnio.nio : XNIO NIO Implementation Version 3.3.8.Final 2019-04-02 22:23:06.715 WARN 29568 --- [ main] io.undertow.websockets.jsr : UT026009: XNIO worker was not set on WebSocketDeploymentInfo, the default worker will be used 2019-04-02 22:23:06.715 WARN 29568 --- [ main] io.undertow.websockets.jsr : UT026010: Buffer pool was not set on WebSocketDeploymentInfo, the default pool will be used 2019-04-02 22:23:06.736 INFO 29568 --- [ main] io.undertow.servlet : Initializing Spring embedded WebApplicationContext 2019-04-02 22:23:06.737 INFO 29568 --- [ main] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 2709 ms 2019-04-02 22:23:07.014 INFO 29568 --- [ main] o.s.b.w.servlet.ServletRegistrationBean : Mapping servlet: 'dispatcherServlet' to [/] 2019-04-02 22:23:07.016 INFO 29568 --- [ main] o.s.b.w.servlet.ServletRegistrationBean : Mapping servlet: 'CamelServlet' to [/api/*] 2019-04-02 22:23:07.018 INFO 29568 --- [ main] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'metricsFilter' to: [/*] 2019-04-02 22:23:07.018 INFO 29568 --- [ main] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'characterEncodingFilter' to: [/*] 2019-04-02 22:23:07.019 INFO 29568 --- [ main] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'hiddenHttpMethodFilter' to: [/*] 2019-04-02 22:23:07.019 INFO 29568 --- [ main] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'httpPutFormContentFilter' to: [/*] 2019-04-02 22:23:07.019 INFO 29568 --- [ main] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'requestContextFilter' to: [/*] 2019-04-02 22:23:07.019 INFO 29568 --- [ main] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'webRequestLoggingFilter' to: [/*] 2019-04-02 22:23:07.019 INFO 29568 --- [ main] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'applicationContextIdFilter' to: [/*] 2019-04-02 22:23:07.130 WARN 29568 --- [ main] com.arjuna.ats.common : ARJUNA048002: Could not find configuration file, URL was: null 2019-04-02 22:23:07.184 INFO 29568 --- [ main] com.arjuna.ats.jbossatx : ARJUNA032010: JBossTS Recovery Service (tag: unknown) - JBoss Inc. 2019-04-02 22:23:07.200 DEBUG 29568 --- [ main] com.arjuna.ats.arjuna : Start RecoveryActivators 2019-04-02 22:23:07.205 TRACE 29568 --- [ main] com.arjuna.ats.common : Loading class com.arjuna.ats.internal.arjuna.recovery.AtomicActionRecoveryModule 2019-04-02 22:23:07.218 TRACE 29568 --- [ main] com.arjuna.ats.common : Loading class com.arjuna.ats.internal.arjuna.utils.SocketProcessId 2019-04-02 22:23:07.228 TRACE 29568 --- [ main] com.arjuna.ats.arjuna : StateManager::StateManager( 2, 0 ) 2019-04-02 22:23:07.228 TRACE 29568 --- [ main] com.arjuna.ats.arjuna : BasicAction::BasicAction() 2019-04-02 22:23:07.228 TRACE 29568 --- [ main] com.arjuna.ats.common : Loading class com.arjuna.ats.internal.arjuna.coordinator.CheckedActionFactoryImple 2019-04-02 22:23:07.229 DEBUG 29568 --- [ main] com.arjuna.ats.arjuna : AtomicActionRecoveryModule created 2019-04-02 22:23:07.229 TRACE 29568 --- [ main] com.arjuna.ats.common : Loading class com.arjuna.ats.internal.arjuna.objectstore.ShadowNoFileLockStore 2019-04-02 22:23:07.232 TRACE 29568 --- [ main] com.arjuna.ats.arjuna : FileSystemStore.createHierarchy(./target/tx/store/spring-boot-camel-xa-0/ShadowNoFileLockStore/defaultStore/) 2019-04-02 22:23:07.235 TRACE 29568 --- [ main] com.arjuna.ats.arjuna : InputObjectState::InputObjectState() 2019-04-02 22:23:07.235 TRACE 29568 --- [ main] com.arjuna.ats.arjuna : FileSystemStore.allObjUids(/Recovery/TransactionStatusManager, InputObjectState Uid : 0:0:0:0:0 InputObjectState Type : null InputObjectState Size : 0 InputObjectState Buffer: , -1) 2019-04-02 22:23:07.244 TRACE 29568 --- [ main] com.arjuna.ats.arjuna : OutputObjectState::OutputObjectState() 2019-04-02 22:23:07.245 TRACE 29568 --- [ main] com.arjuna.ats.common : Loading class com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule 2019-04-02 22:23:07.247 TRACE 29568 --- [ main] com.arjuna.ats.arjuna : InputObjectState::InputObjectState() 2019-04-02 22:23:07.248 TRACE 29568 --- [ main] com.arjuna.ats.common : Loading class com.arjuna.ats.internal.jta.recovery.arjunacore.JTATransactionLogXAResourceOrphanFilter 2019-04-02 22:23:07.248 TRACE 29568 --- [ main] com.arjuna.ats.common : Loading class com.arjuna.ats.internal.jta.recovery.arjunacore.JTANodeNameXAResourceOrphanFilter 2019-04-02 22:23:07.250 DEBUG 29568 --- [ main] com.arjuna.ats.arjuna : Expiry scan interval set to 43200 seconds 2019-04-02 22:23:07.250 TRACE 29568 --- [ main] com.arjuna.ats.common : Loading class com.arjuna.ats.internal.arjuna.recovery.ExpiredTransactionStatusManagerScanner 2019-04-02 22:23:07.251 DEBUG 29568 --- [ main] com.arjuna.ats.arjuna : Expiry scan interval set to 43200 seconds 2019-04-02 22:23:07.251 DEBUG 29568 --- [ main] com.arjuna.ats.arjuna : ExpiredTransactionStatusManagerScanner created, with expiry time of 43200 seconds 2019-04-02 22:23:07.251 DEBUG 29568 --- [ main] com.arjuna.ats.arjuna : ExpiredEntryMonitor - constructed 2019-04-02 22:23:07.252 DEBUG 29568 --- [ main] com.arjuna.ats.arjuna : RecoveryManagerImple is ready. Socket listener is turned off. 2019-04-02 22:23:07.252 INFO 29568 --- [ main] com.arjuna.ats.jbossatx : ARJUNA032013: Starting transaction recovery manager 2019-04-02 22:23:07.252 DEBUG 29568 --- [d Entry Monitor] com.arjuna.ats.arjuna : ExpiredEntryMonitor running at Tue, 2 Apr 2019 22:23:07 2019-04-02 22:23:07.254 DEBUG 29568 --- [d Entry Monitor] com.arjuna.ats.arjuna : ExpiredTransactionStatusManagerScanner - scanning to remove items from before Tue, 2 Apr 2019 10:23:07 2019-04-02 22:23:07.254 TRACE 29568 --- [d Entry Monitor] com.arjuna.ats.arjuna : InputObjectState::InputObjectState() 2019-04-02 22:23:07.255 DEBUG 29568 --- [riodic Recovery] com.arjuna.ats.arjuna : PeriodicRecovery: background thread Status <== SCANNING 2019-04-02 22:23:07.255 TRACE 29568 --- [d Entry Monitor] com.arjuna.ats.arjuna : FileSystemStore.allObjUids(/Recovery/TransactionStatusManager, InputObjectState Uid : 0:0:0:0:0 InputObjectState Type : null InputObjectState Size : 0 InputObjectState Buffer: , -1) 2019-04-02 22:23:07.255 DEBUG 29568 --- [riodic Recovery] com.arjuna.ats.arjuna : PeriodicRecovery: background thread scanning 2019-04-02 22:23:07.255 TRACE 29568 --- [d Entry Monitor] com.arjuna.ats.arjuna : OutputObjectState::OutputObjectState() 2019-04-02 22:23:07.256 DEBUG 29568 --- [riodic Recovery] com.arjuna.ats.arjuna : Periodic recovery first pass at Tue, 2 Apr 2019 22:23:07 2019-04-02 22:23:07.256 DEBUG 29568 --- [d Entry Monitor] com.arjuna.ats.arjuna : 2019-04-02 22:23:07.256 TRACE 29568 --- [riodic Recovery] com.arjuna.ats.arjuna : InputObjectState::InputObjectState() 2019-04-02 22:23:07.256 DEBUG 29568 --- [riodic Recovery] com.arjuna.ats.arjuna : AtomicActionRecoveryModule first pass 2019-04-02 22:23:07.257 TRACE 29568 --- [riodic Recovery] com.arjuna.ats.arjuna : FileSystemStore.allObjUids(/StateManager/BasicAction/TwoPhaseCoordinator/AtomicAction, InputObjectState Uid : 0:0:0:0:0 InputObjectState Type : null InputObjectState Size : 0 InputObjectState Buffer: , -1) 2019-04-02 22:23:07.257 TRACE 29568 --- [riodic Recovery] com.arjuna.ats.arjuna : OutputObjectState::OutputObjectState() 2019-04-02 22:23:07.257 DEBUG 29568 --- [riodic Recovery] com.arjuna.ats.arjuna : processing /StateManager/BasicAction/TwoPhaseCoordinator/AtomicAction transactions 2019-04-02 22:23:07.257 DEBUG 29568 --- [riodic Recovery] com.arjuna.ats.arjuna : 2019-04-02 22:23:07.257 DEBUG 29568 --- [riodic Recovery] com.arjuna.ats.arjuna : XARecoveryModule state change IDLE->FIRST_PASS 2019-04-02 22:23:07.272 TRACE 29568 --- [ main] com.arjuna.ats.common : Loading class com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionManagerImple 2019-04-02 22:23:07.275 DEBUG 29568 --- [riodic Recovery] com.arjuna.ats.jta : Local XARecoveryModule - first pass 2019-04-02 22:23:07.275 TRACE 29568 --- [riodic Recovery] com.arjuna.ats.arjuna : InputObjectState::InputObjectState() 2019-04-02 22:23:07.277 TRACE 29568 --- [riodic Recovery] com.arjuna.ats.arjuna : FileSystemStore.allObjUids(/StateManager/AbstractRecord/XAResourceRecord, InputObjectState Uid : 0:0:0:0:0 InputObjectState Type : null InputObjectState Size : 0 InputObjectState Buffer: , -1) 2019-04-02 22:23:07.278 TRACE 29568 --- [riodic Recovery] com.arjuna.ats.arjuna : OutputObjectState::OutputObjectState() 2019-04-02 22:23:07.278 DEBUG 29568 --- [riodic Recovery] com.arjuna.ats.arjuna : XARecoveryModule state change FIRST_PASS->BETWEEN_PASSES 2019-04-02 22:23:07.278 DEBUG 29568 --- [riodic Recovery] com.arjuna.ats.arjuna : 2019-04-02 22:23:10.111 INFO 29568 --- [ main] o.s.jdbc.datasource.init.ScriptUtils : Executing SQL script from URL [file:/Users/vkasala/Downloads/spring-boot-xa-jpa-jms-redelivery/target/classes/schema.sql] 2019-04-02 22:23:10.407 INFO 29568 --- [ main] o.s.jdbc.datasource.init.ScriptUtils : Executed SQL script from URL [file:/Users/vkasala/Downloads/spring-boot-xa-jpa-jms-redelivery/target/classes/schema.sql] in 295 ms. 2019-04-02 22:23:10.422 TRACE 29568 --- [ main] com.arjuna.ats.common : Loading class com.arjuna.ats.internal.jta.transaction.arjunacore.UserTransactionImple 2019-04-02 22:23:10.439 INFO 29568 --- [ main] o.s.t.jta.JtaTransactionManager : Using JTA UserTransaction: Transaction: unknown 2019-04-02 22:23:10.439 INFO 29568 --- [ main] o.s.t.jta.JtaTransactionManager : Using JTA TransactionManager: Transaction: unknown 2019-04-02 22:23:10.653 INFO 29568 --- [ main] j.LocalContainerEntityManagerFactoryBean : Building JPA container EntityManagerFactory for persistence unit 'default' 2019-04-02 22:23:10.668 INFO 29568 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [ name: default ...] 2019-04-02 22:23:10.743 INFO 29568 --- [ main] org.hibernate.Version : HHH000412: Hibernate Core {5.3.7.Final-redhat-00001} 2019-04-02 22:23:10.744 INFO 29568 --- [ main] org.hibernate.cfg.Environment : HHH000206: hibernate.properties not found 2019-04-02 22:23:11.089 INFO 29568 --- [ main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.0.4.Final} 2019-04-02 22:23:11.380 INFO 29568 --- [ main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.MySQL5Dialect 2019-04-02 22:23:11.935 TRACE 29568 --- [ main] com.arjuna.ats.jta : TransactionImpleManager.suspend Hibernate: drop table if exists message 2019-04-02 22:23:12.663 TRACE 29568 --- [ main] com.arjuna.ats.jta : TransactionImpleManager.suspend Hibernate: create table message ( message_text varchar(255) not null, primary key (message_text) ) engine=MyISAM 2019-04-02 22:23:13.407 INFO 29568 --- [ main] o.h.t.schema.internal.SchemaCreatorImpl : HHH000476: Executing import script 'org.hibernate.tool.schema.internal.exec.ScriptSourceInputNonExistentImpl@63edd687' 2019-04-02 22:23:13.412 INFO 29568 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2019-04-02 22:23:14.167 INFO 29568 --- [ main] s.w.s.m.m.a.RequestMappingHandlerAdapter : Looking for @ControllerAdvice: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@1d4439c0: startup date [Tue Apr 02 22:23:04 CEST 2019]; root of context hierarchy 2019-04-02 22:23:14.263 INFO 29568 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity> org.springframework.boot.autoconfigure.web.BasicErrorController.error(javax.servlet.http.HttpServletRequest) 2019-04-02 22:23:14.264 INFO 29568 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) 2019-04-02 22:23:14.301 INFO 29568 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler] 2019-04-02 22:23:14.301 INFO 29568 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler] 2019-04-02 22:23:14.342 INFO 29568 --- [ main] o.s.w.s.handler.SimpleUrlHandlerMapping : Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler] 2019-04-02 22:23:14.446 INFO 29568 --- [ main] o.a.c.i.converter.DefaultTypeConverter : Type converters loaded (core: 194, classpath: 7) 2019-04-02 22:23:15.497 INFO 29568 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/loggers/{name:.*}],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.LoggersMvcEndpoint.get(java.lang.String) 2019-04-02 22:23:15.497 INFO 29568 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/loggers/{name:.*}],methods=[POST],consumes=[application/vnd.spring-boot.actuator.v1+json || application/json],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.LoggersMvcEndpoint.set(java.lang.String,java.util.Map) 2019-04-02 22:23:15.497 INFO 29568 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/loggers || /loggers.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke() 2019-04-02 22:23:15.498 INFO 29568 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/health || /health.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.HealthMvcEndpoint.invoke(javax.servlet.http.HttpServletRequest,java.security.Principal) 2019-04-02 22:23:15.504 INFO 29568 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/camel/routes/{id}/start],methods=[POST],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.apache.camel.spring.boot.actuate.endpoint.CamelRoutesMvcEndpoint.start(java.lang.String) 2019-04-02 22:23:15.504 INFO 29568 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/camel/routes/{id}/stop],methods=[POST],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.apache.camel.spring.boot.actuate.endpoint.CamelRoutesMvcEndpoint.stop(java.lang.String,java.lang.Long,java.lang.Boolean) 2019-04-02 22:23:15.505 INFO 29568 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/camel/routes/{id}/suspend],methods=[POST],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.apache.camel.spring.boot.actuate.endpoint.CamelRoutesMvcEndpoint.suspend(java.lang.String,java.lang.Long) 2019-04-02 22:23:15.505 INFO 29568 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/camel/routes/{id}/resume],methods=[POST],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.apache.camel.spring.boot.actuate.endpoint.CamelRoutesMvcEndpoint.resume(java.lang.String) 2019-04-02 22:23:15.505 INFO 29568 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/camel/routes/{id}/reset],methods=[POST],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.apache.camel.spring.boot.actuate.endpoint.CamelRoutesMvcEndpoint.reset(java.lang.String) 2019-04-02 22:23:15.505 INFO 29568 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/camel/routes/{id}/info],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.apache.camel.spring.boot.actuate.endpoint.CamelRoutesMvcEndpoint.info(java.lang.String) 2019-04-02 22:23:15.505 INFO 29568 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/camel/routes/{id}/detail],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.apache.camel.spring.boot.actuate.endpoint.CamelRoutesMvcEndpoint.detail(java.lang.String) 2019-04-02 22:23:15.505 INFO 29568 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/camel/routes || /camel/routes.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke() 2019-04-02 22:23:15.506 INFO 29568 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/configprops || /configprops.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke() 2019-04-02 22:23:15.507 INFO 29568 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/info || /info.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke() 2019-04-02 22:23:15.508 INFO 29568 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/camel/health/check/{id}/invoke],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.apache.camel.spring.boot.actuate.endpoint.CamelHealthCheckMvcEndpoint.invoke(java.lang.String,java.util.Map) 2019-04-02 22:23:15.509 INFO 29568 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/camel/health/check/{id}],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.apache.camel.spring.boot.actuate.endpoint.CamelHealthCheckMvcEndpoint.query(java.lang.String,java.util.Map) 2019-04-02 22:23:15.509 INFO 29568 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/camel/health/check || /camel/health/check.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke() 2019-04-02 22:23:15.510 INFO 29568 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/metrics/{name:.*}],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.MetricsMvcEndpoint.value(java.lang.String) 2019-04-02 22:23:15.510 INFO 29568 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/metrics || /metrics.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke() 2019-04-02 22:23:15.511 INFO 29568 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/autoconfig || /autoconfig.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke() 2019-04-02 22:23:15.511 INFO 29568 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/env/{name:.*}],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EnvironmentMvcEndpoint.value(java.lang.String) 2019-04-02 22:23:15.512 INFO 29568 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/env || /env.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke() 2019-04-02 22:23:15.512 INFO 29568 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/trace || /trace.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke() 2019-04-02 22:23:15.513 INFO 29568 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/beans || /beans.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke() 2019-04-02 22:23:15.513 INFO 29568 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/dump || /dump.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke() 2019-04-02 22:23:15.514 INFO 29568 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/camel/route-controller || /camel/route-controller.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke() 2019-04-02 22:23:15.514 INFO 29568 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/mappings || /mappings.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke() 2019-04-02 22:23:15.515 INFO 29568 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/heapdump || /heapdump.json],methods=[GET],produces=[application/octet-stream]}" onto public void org.springframework.boot.actuate.endpoint.mvc.HeapdumpMvcEndpoint.invoke(boolean,javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.io.IOException,javax.servlet.ServletException 2019-04-02 22:23:15.516 INFO 29568 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/auditevents || /auditevents.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public org.springframework.http.ResponseEntity org.springframework.boot.actuate.endpoint.mvc.AuditEventsMvcEndpoint.findByPrincipalAndAfterAndType(java.lang.String,java.util.Date,java.lang.String) 2019-04-02 22:23:15.812 INFO 29568 --- [ main] o.s.j.e.a.AnnotationMBeanExporter : Registering beans for JMX exposure on startup 2019-04-02 22:23:15.815 INFO 29568 --- [ main] o.s.j.e.a.AnnotationMBeanExporter : Bean with name 'dataSource' has been autodetected for JMX exposure 2019-04-02 22:23:15.820 INFO 29568 --- [ main] o.s.j.e.a.AnnotationMBeanExporter : Located MBean 'dataSource': registering with JMX server as MBean [org.apache.commons.dbcp2.managed:name=dataSource,type=BasicManagedDataSource] 2019-04-02 22:23:15.827 INFO 29568 --- [ main] o.s.c.support.DefaultLifecycleProcessor : Starting beans in phase 0 2019-04-02 22:23:15.898 INFO 29568 --- [ main] o.s.c.support.DefaultLifecycleProcessor : Starting beans in phase 2147483647 2019-04-02 22:23:15.916 INFO 29568 --- [ main] o.a.camel.spring.boot.RoutesCollector : Loading additional Camel XML routes from: classpath:camel/*.xml 2019-04-02 22:23:15.917 INFO 29568 --- [ main] o.a.camel.spring.boot.RoutesCollector : Loading additional Camel XML rests from: classpath:camel-rest/*.xml 2019-04-02 22:23:15.921 INFO 29568 --- [ main] o.a.camel.spring.SpringCamelContext : Apache Camel 2.21.0.fuse-730067-redhat-00001 (CamelContext: SpringBootCamelXa) is starting 2019-04-02 22:23:15.923 INFO 29568 --- [ main] o.a.camel.spring.SpringCamelContext : Tracing is enabled on CamelContext: SpringBootCamelXa 2019-04-02 22:23:15.923 INFO 29568 --- [ main] o.a.c.m.ManagedManagementStrategy : JMX is enabled 2019-04-02 22:23:16.221 INFO 29568 --- [ main] o.a.camel.component.jpa.JpaComponent : Using EntityManagerFactory found in registry with id [entityManagerFactory] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean@25958d7f 2019-04-02 22:23:16.221 INFO 29568 --- [ main] o.a.camel.component.jpa.JpaComponent : Using TransactionManager found in registry with id [transactionManager] org.springframework.transaction.jta.JtaTransactionManager@72f38794 2019-04-02 22:23:16.237 INFO 29568 --- [ main] o.a.camel.spring.SpringCamelContext : StreamCaching is not in use. If using streams then its recommended to enable stream caching. See more details at http://camel.apache.org/stream-caching.html 2019-04-02 22:23:16.363 INFO 29568 --- [ main] o.a.camel.spring.SpringCamelContext : Route: route1 started and consuming from: servlet:/?httpMethodRestrict=GET 2019-04-02 22:23:16.364 INFO 29568 --- [ main] o.a.camel.spring.SpringCamelContext : Route: transactedSource started and consuming from: direct://xaTransaction 2019-04-02 22:23:16.368 INFO 29568 --- [ main] o.a.camel.spring.SpringCamelContext : Route: transactedTargetUnstableWay started and consuming from: jms://queue:DEV.QUEUE.1?transacted=true 2019-04-02 22:23:16.369 INFO 29568 --- [ main] o.a.camel.spring.SpringCamelContext : Route: route2 started and consuming from: servlet:/xa?httpMethodRestrict=POST 2019-04-02 22:23:16.370 INFO 29568 --- [ main] o.a.camel.spring.SpringCamelContext : Total 4 routes, of which 4 are started 2019-04-02 22:23:16.371 INFO 29568 --- [ main] o.a.camel.spring.SpringCamelContext : Apache Camel 2.21.0.fuse-730067-redhat-00001 (CamelContext: SpringBootCamelXa) started in 0.449 seconds 2019-04-02 22:23:16.391 INFO 29568 --- [ main] o.a.c.c.s.CamelHttpTransportServlet : Initialized CamelHttpTransportServlet[name=CamelServlet, contextPath=] 2019-04-02 22:23:16.446 INFO 29568 --- [ main] b.c.e.u.UndertowEmbeddedServletContainer : Undertow started on port(s) 8080 (http) 2019-04-02 22:23:16.459 INFO 29568 --- [ main] com.redhat.fuse.quickstarts.Application : Started Application in 12.845 seconds (JVM running for 15.54) 2019-04-02 22:23:16.879 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@45eb0b12 2019-04-02 22:23:17.279 DEBUG 29568 --- [riodic Recovery] com.arjuna.ats.arjuna : Periodic recovery second pass at Tue, 2 Apr 2019 22:23:17 2019-04-02 22:23:17.280 DEBUG 29568 --- [riodic Recovery] com.arjuna.ats.arjuna : AtomicActionRecoveryModule second pass 2019-04-02 22:23:17.280 DEBUG 29568 --- [riodic Recovery] com.arjuna.ats.arjuna : 2019-04-02 22:23:17.280 DEBUG 29568 --- [riodic Recovery] com.arjuna.ats.arjuna : XARecoveryModule state change BETWEEN_PASSES->SECOND_PASS 2019-04-02 22:23:17.280 DEBUG 29568 --- [riodic Recovery] com.arjuna.ats.jta : Local XARecoveryModule - second pass 2019-04-02 22:23:17.280 DEBUG 29568 --- [riodic Recovery] com.arjuna.ats.jta : Local XARecoveryModule.transactionInitiatedRecovery completed 2019-04-02 22:23:17.280 DEBUG 29568 --- [riodic Recovery] com.arjuna.ats.jta : Local XARecoveryModule.resourceInitiatedRecovery completed 2019-04-02 22:23:17.280 DEBUG 29568 --- [riodic Recovery] com.arjuna.ats.arjuna : XARecoveryModule state change SECOND_PASS->IDLE 2019-04-02 22:23:17.280 DEBUG 29568 --- [riodic Recovery] com.arjuna.ats.arjuna : 2019-04-02 22:23:17.280 DEBUG 29568 --- [riodic Recovery] com.arjuna.ats.arjuna : PeriodicRecovery: background thread Status <== INACTIVE 2019-04-02 22:23:17.280 DEBUG 29568 --- [riodic Recovery] com.arjuna.ats.arjuna : PeriodicRecovery: background thread backing off 2019-04-02 22:23:18.066 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@3b322a7c 2019-04-02 22:23:19.109 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@52a73dde 2019-04-02 22:23:20.150 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@18ac3610 2019-04-02 22:23:21.183 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@bf876b0 2019-04-02 22:23:22.219 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@3497dedf 2019-04-02 22:23:23.258 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@e55fbe6 2019-04-02 22:23:24.296 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@4c833f72 2019-04-02 22:23:25.360 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@3a200480 2019-04-02 22:23:26.397 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@217cb3db 2019-04-02 22:23:27.434 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@7e0e7d44 2019-04-02 22:23:28.487 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@666ece57 2019-04-02 22:23:29.524 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@39818aad 2019-04-02 22:23:30.594 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@e2cca4a 2019-04-02 22:23:31.637 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@32d9e8f9 2019-04-02 22:23:32.024 INFO 29568 --- [ XNIO-2 task-1] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-1 >>> (route1) from(servlet:/?httpMethodRestrict=GET) --> sql://select%20*%20from%20message <<< Pattern:InOut, Headers:{Accept=*/*, breadcrumbId=ID-vkasala-OSX-1554236593617-0-1, CamelHttpCharacterEncoding=UTF-8, CamelHttpMethod=GET, CamelHttpPath=, CamelHttpQuery=null, CamelHttpServletRequest=HttpServletRequestImpl [ GET /api/ ], CamelHttpServletResponse=io.undertow.servlet.spec.HttpServletResponseImpl@344bf616, CamelHttpUri=/api/, CamelHttpUrl=http://localhost:8080/api/, CamelServletContextPath=/, Content-Type=null, Host=localhost:8080, User-Agent=curl/7.54.0}, BodyType:org.apache.camel.converter.stream.InputStreamCache, Body:[Body is instance of org.apache.camel.StreamCache] 2019-04-02 22:23:32.338 INFO 29568 --- [ XNIO-2 task-1] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-1 >>> (route1) sql://select%20*%20from%20message --> convertBodyTo[java.lang.String] <<< Pattern:InOut, Headers:{Accept=*/*, breadcrumbId=ID-vkasala-OSX-1554236593617-0-1, CamelHttpCharacterEncoding=UTF-8, CamelHttpMethod=GET, CamelHttpPath=, CamelHttpQuery=null, CamelHttpServletRequest=HttpServletRequestImpl [ GET /api/ ], CamelHttpServletResponse=io.undertow.servlet.spec.HttpServletResponseImpl@344bf616, CamelHttpUri=/api/, CamelHttpUrl=http://localhost:8080/api/, CamelServletContextPath=/, CamelSqlRowCount=0, Content-Type=null, Host=localhost:8080, User-Agent=curl/7.54.0}, BodyType:java.util.ArrayList, Body: 2019-04-02 22:23:32.671 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@5956f8f1 2019-04-02 22:23:33.708 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@116d354 2019-04-02 22:23:34.275 INFO 29568 --- [ XNIO-2 task-2] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-3 >>> (route2) from(servlet:/xa?httpMethodRestrict=POST) --> transform[Simple: ${header.entry}] <<< Pattern:InOut, Headers:{Accept=*/*, breadcrumbId=ID-vkasala-OSX-1554236593617-0-3, CamelHttpCharacterEncoding=UTF-8, CamelHttpMethod=POST, CamelHttpPath=, CamelHttpQuery=entry=2, CamelHttpServletRequest=HttpServletRequestImpl [ POST /api/xa ], CamelHttpServletResponse=io.undertow.servlet.spec.HttpServletResponseImpl@5fc8b720, CamelHttpUri=/api/xa, CamelHttpUrl=http://localhost:8080/api/xa, CamelServletContextPath=/xa, Content-Type=null, entry=2, Host=localhost:8080, User-Agent=curl/7.54.0}, BodyType:org.apache.camel.converter.stream.InputStreamCache, Body:[Body is instance of org.apache.camel.StreamCache] 2019-04-02 22:23:34.277 INFO 29568 --- [ XNIO-2 task-2] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-3 >>> (route2) transform[Simple: ${header.entry}] --> direct://xaTransaction?exchangePattern=InOnly <<< Pattern:InOut, Headers:{Accept=*/*, breadcrumbId=ID-vkasala-OSX-1554236593617-0-3, CamelHttpCharacterEncoding=UTF-8, CamelHttpMethod=POST, CamelHttpPath=, CamelHttpQuery=entry=2, CamelHttpServletRequest=HttpServletRequestImpl [ POST /api/xa ], CamelHttpServletResponse=io.undertow.servlet.spec.HttpServletResponseImpl@5fc8b720, CamelHttpUri=/api/xa, CamelHttpUrl=http://localhost:8080/api/xa, CamelServletContextPath=/xa, Content-Type=null, entry=2, Host=localhost:8080, User-Agent=curl/7.54.0}, BodyType:String, Body:2 2019-04-02 22:23:34.277 INFO 29568 --- [ XNIO-2 task-2] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-3 >>> (transactedSource) direct://xaTransaction?exchangePattern=InOnly --> transform[Simple: Reply XA transaction: ${body}] <<< Pattern:InOnly, Headers:{Accept=*/*, breadcrumbId=ID-vkasala-OSX-1554236593617-0-3, CamelHttpCharacterEncoding=UTF-8, CamelHttpMethod=POST, CamelHttpPath=, CamelHttpQuery=entry=2, CamelHttpServletRequest=HttpServletRequestImpl [ POST /api/xa ], CamelHttpServletResponse=io.undertow.servlet.spec.HttpServletResponseImpl@5fc8b720, CamelHttpUri=/api/xa, CamelHttpUrl=http://localhost:8080/api/xa, CamelServletContextPath=/xa, Content-Type=null, entry=2, Host=localhost:8080, User-Agent=curl/7.54.0}, BodyType:String, Body:2 2019-04-02 22:23:34.278 INFO 29568 --- [ XNIO-2 task-2] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-3 >>> (transactedSource) transform[Simple: Reply XA transaction: ${body}] --> log[Getting ${body}] <<< Pattern:InOnly, Headers:{Accept=*/*, breadcrumbId=ID-vkasala-OSX-1554236593617-0-3, CamelHttpCharacterEncoding=UTF-8, CamelHttpMethod=POST, CamelHttpPath=, CamelHttpQuery=entry=2, CamelHttpServletRequest=HttpServletRequestImpl [ POST /api/xa ], CamelHttpServletResponse=io.undertow.servlet.spec.HttpServletResponseImpl@5fc8b720, CamelHttpUri=/api/xa, CamelHttpUrl=http://localhost:8080/api/xa, CamelServletContextPath=/xa, Content-Type=null, entry=2, Host=localhost:8080, User-Agent=curl/7.54.0}, BodyType:String, Body:Reply XA transaction: 2 2019-04-02 22:23:34.278 INFO 29568 --- [ XNIO-2 task-2] transactedSource : Getting Reply XA transaction: 2 2019-04-02 22:23:34.278 INFO 29568 --- [ XNIO-2 task-2] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-3 >>> (transactedSource) log[Getting ${body}] --> jms://queue:DEV.QUEUE.1 <<< Pattern:InOnly, Headers:{Accept=*/*, breadcrumbId=ID-vkasala-OSX-1554236593617-0-3, CamelHttpCharacterEncoding=UTF-8, CamelHttpMethod=POST, CamelHttpPath=, CamelHttpQuery=entry=2, CamelHttpServletRequest=HttpServletRequestImpl [ POST /api/xa ], CamelHttpServletResponse=io.undertow.servlet.spec.HttpServletResponseImpl@5fc8b720, CamelHttpUri=/api/xa, CamelHttpUrl=http://localhost:8080/api/xa, CamelServletContextPath=/xa, Content-Type=null, entry=2, Host=localhost:8080, User-Agent=curl/7.54.0}, BodyType:String, Body:Reply XA transaction: 2 2019-04-02 22:23:34.293 TRACE 29568 --- [ XNIO-2 task-2] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@329d6e0a 2019-04-02 22:23:34.337 INFO 29568 --- [ XNIO-2 task-2] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-3 >>> (transactedSource) jms://queue:DEV.QUEUE.1 --> transform[SEND] <<< Pattern:InOnly, Headers:{Accept=*/*, breadcrumbId=ID-vkasala-OSX-1554236593617-0-3, CamelHttpCharacterEncoding=UTF-8, CamelHttpMethod=POST, CamelHttpPath=, CamelHttpQuery=entry=2, CamelHttpServletRequest=HttpServletRequestImpl [ POST /api/xa ], CamelHttpServletResponse=io.undertow.servlet.spec.HttpServletResponseImpl@5fc8b720, CamelHttpUri=/api/xa, CamelHttpUrl=http://localhost:8080/api/xa, CamelServletContextPath=/xa, Content-Type=null, entry=2, Host=localhost:8080, User-Agent=curl/7.54.0}, BodyType:String, Body:Reply XA transaction: 2 2019-04-02 22:23:34.337 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : BaseTransaction.begin 2019-04-02 22:23:34.337 INFO 29568 --- [ XNIO-2 task-2] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-3 >>> (route2) transform[SEND] --> log[Incoming ${body}] <<< Pattern:InOut, Headers:{Accept=*/*, breadcrumbId=ID-vkasala-OSX-1554236593617-0-3, CamelHttpCharacterEncoding=UTF-8, CamelHttpMethod=POST, CamelHttpPath=, CamelHttpQuery=entry=2, CamelHttpServletRequest=HttpServletRequestImpl [ POST /api/xa ], CamelHttpServletResponse=io.undertow.servlet.spec.HttpServletResponseImpl@5fc8b720, CamelHttpUri=/api/xa, CamelHttpUrl=http://localhost:8080/api/xa, CamelServletContextPath=/xa, Content-Type=null, entry=2, Host=localhost:8080, User-Agent=curl/7.54.0}, BodyType:String, Body:SEND 2019-04-02 22:23:34.337 INFO 29568 --- [ XNIO-2 task-2] route2 : Incoming SEND 2019-04-02 22:23:34.339 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.common : Loading class com.arjuna.ats.arjuna.recovery.ActionStatusService 2019-04-02 22:23:34.340 DEBUG 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : com.arjuna.ats.arjuna.recovery.ActionStatusService starting 2019-04-02 22:23:34.341 DEBUG 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : TransactionStatusManagerItem host: {0} port: {1} 2019-04-02 22:23:34.341 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : OutputObjectState::OutputObjectState() 2019-04-02 22:23:34.341 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.common : Loading class com.arjuna.ats.internal.arjuna.objectstore.ShadowNoFileLockStore 2019-04-02 22:23:34.341 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : FileSystemStore.createHierarchy(./target/tx/store/spring-boot-camel-xa-0/ShadowNoFileLockStore/defaultStore/) 2019-04-02 22:23:34.341 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : FileSystemStore.write_committed(0:ffffc0a8000e:f11d:5ca3c4ab:6, /Recovery/TransactionStatusManager) 2019-04-02 22:23:34.342 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : ShadowingStore.write_state(0:ffffc0a8000e:f11d:5ca3c4ab:6, /Recovery/TransactionStatusManager, StateType.OS_ORIGINAL) 2019-04-02 22:23:34.342 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : ShadowingStore.genPathName(0:ffffc0a8000e:f11d:5ca3c4ab:6, /Recovery/TransactionStatusManager, StateType.OS_ORIGINAL) 2019-04-02 22:23:34.342 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : FileSystemStore.genPathName(0:ffffc0a8000e:f11d:5ca3c4ab:6, /Recovery/TransactionStatusManager, 11) 2019-04-02 22:23:34.342 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : FileSystemStore.openAndLock(./target/tx/store/spring-boot-camel-xa-0/ShadowNoFileLockStore/defaultStore/Recovery/TransactionStatusManager/0_ffffc0a8000e_f11d_5ca3c4ab_6, FileLock.F_WRLCK, true) 2019-04-02 22:23:34.342 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : FileSystemStore.createHierarchy(./target/tx/store/spring-boot-camel-xa-0/ShadowNoFileLockStore/defaultStore/Recovery/TransactionStatusManager/0_ffffc0a8000e_f11d_5ca3c4ab_6) 2019-04-02 22:23:34.343 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : FileSystemStore.closeAndUnlock(./target/tx/store/spring-boot-camel-xa-0/ShadowNoFileLockStore/defaultStore/Recovery/TransactionStatusManager/0_ffffc0a8000e_f11d_5ca3c4ab_6, null, java.io.FileOutputStream@56bb20f5) 2019-04-02 22:23:34.343 INFO 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : ARJUNA012170: TransactionStatusManager started on port 61755 and host 127.0.0.1 with service com.arjuna.ats.arjuna.recovery.ActionStatusService 2019-04-02 22:23:34.344 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : StateManager::StateManager( 2, 0 ) 2019-04-02 22:23:34.344 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::BasicAction() 2019-04-02 22:23:34.344 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::Begin() for action-id 0:ffffc0a8000e:f11d:5ca3c4ab:8 2019-04-02 22:23:34.344 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::actionInitialise() for action-id 0:ffffc0a8000e:f11d:5ca3c4ab:8 2019-04-02 22:23:34.345 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : ActionHierarchy::ActionHierarchy(1) 2019-04-02 22:23:34.345 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : ActionHierarchy::add(0:ffffc0a8000e:f11d:5ca3c4ab:8, 1) 2019-04-02 22:23:34.347 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::addChildThread () action 0:ffffc0a8000e:f11d:5ca3c4ab:8 adding Thread[Camel (SpringBootCamelXa) thread #1 - JmsConsumer[DEV.QUEUE.1],5,com.redhat.fuse.quickstarts.Application] 2019-04-02 22:23:34.347 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::addChildThread () action 0:ffffc0a8000e:f11d:5ca3c4ab:8 adding Thread[Camel (SpringBootCamelXa) thread #1 - JmsConsumer[DEV.QUEUE.1],5,com.redhat.fuse.quickstarts.Application] result = true 2019-04-02 22:23:34.349 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : TransactionReaper::instantiate() 2019-04-02 22:23:34.350 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : TransactionReaper::TransactionReaper ( 9223372036854775807 ) 2019-04-02 22:23:34.351 TRACE 29568 --- [nsaction Reaper] com.arjuna.ats.arjuna : ReaperThread.run () 2019-04-02 22:23:34.351 TRACE 29568 --- [Reaper Worker 0] com.arjuna.ats.arjuna : ReaperWorkerThread.run () 2019-04-02 22:23:34.351 TRACE 29568 --- [nsaction Reaper] com.arjuna.ats.arjuna : Thread Thread[Transaction Reaper,5,com.redhat.fuse.quickstarts.Application] sleeping for 9223370482618161456 2019-04-02 22:23:34.351 TRACE 29568 --- [Reaper Worker 0] com.arjuna.ats.arjuna : Thread Thread[Transaction Reaper Worker 0,5,com.redhat.fuse.quickstarts.Application] waiting for cancelled TXs 2019-04-02 22:23:34.351 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : TransactionReaper::insert ( BasicAction: 0:ffffc0a8000e:f11d:5ca3c4ab:8 status: ActionStatus.RUNNING, 60 ) 2019-04-02 22:23:34.351 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : ReaperElement::ReaperElement ( BasicAction: 0:ffffc0a8000e:f11d:5ca3c4ab:8 status: ActionStatus.RUNNING, 60 ) 2019-04-02 22:23:34.351 TRACE 29568 --- [nsaction Reaper] com.arjuna.ats.arjuna : ReaperThread.run () 2019-04-02 22:23:34.352 TRACE 29568 --- [nsaction Reaper] com.arjuna.ats.arjuna : TransactionReaper::check () 2019-04-02 22:23:34.352 TRACE 29568 --- [nsaction Reaper] com.arjuna.ats.arjuna : TransactionReaper::check - comparing 1554236674351 2019-04-02 22:23:34.352 TRACE 29568 --- [nsaction Reaper] com.arjuna.ats.arjuna : Thread Thread[Transaction Reaper,5,com.redhat.fuse.quickstarts.Application] sleeping for 59999 2019-04-02 22:23:34.352 INFO 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-5 >>> (transactedTargetUnstableWay) from(jms://queue:DEV.QUEUE.1?transacted=true) --> transacted <<< Pattern:InOnly, Headers:{Accept=*/*, breadcrumbId=ID-vkasala-OSX-1554236593617-0-3, CamelHttpCharacterEncoding=UTF-8, CamelHttpMethod=POST, CamelHttpPath=, CamelHttpQuery=entry=2, CamelHttpUri=/api/xa, CamelHttpUrl=http://localhost:8080/api/xa, CamelServletContextPath=/xa, entry=2, Host=localhost:8080, JMSCorrelationID=null, JMSCorrelationIDAsBytes=null, JMSDeliveryMode=2, JMSDestination=ActiveMQQueue[DEV.QUEUE.1], JMSExpiration=0, JMSMessageID=ID:306fdf1c-5585-11e9-b65d-186590d94cf7, JMSPriority=4, JMSRedelivered=false, JMSReplyTo=null, JMSTimestamp=1554236614315, JMSType=null, JMSXDeliveryCount=1, JMSXGroupID=null, JMSXUserID=null, User-Agent=curl/7.54.0}, BodyType:String, Body:Reply XA transaction: 2 2019-04-02 22:23:34.353 INFO 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-5 >>> (transactedTargetUnstableWay) transacted --> log[Processing {message} = ${body}] <<< Pattern:InOnly, Headers:{Accept=*/*, breadcrumbId=ID-vkasala-OSX-1554236593617-0-3, CamelHttpCharacterEncoding=UTF-8, CamelHttpMethod=POST, CamelHttpPath=, CamelHttpQuery=entry=2, CamelHttpUri=/api/xa, CamelHttpUrl=http://localhost:8080/api/xa, CamelServletContextPath=/xa, entry=2, Host=localhost:8080, JMSCorrelationID=null, JMSCorrelationIDAsBytes=null, JMSDeliveryMode=2, JMSDestination=ActiveMQQueue[DEV.QUEUE.1], JMSExpiration=0, JMSMessageID=ID:306fdf1c-5585-11e9-b65d-186590d94cf7, JMSPriority=4, JMSRedelivered=false, JMSReplyTo=null, JMSTimestamp=1554236614315, JMSType=null, JMSXDeliveryCount=1, JMSXGroupID=null, JMSXUserID=null, User-Agent=curl/7.54.0}, BodyType:String, Body:Reply XA transaction: 2 2019-04-02 22:23:34.353 INFO 29568 --- [er[DEV.QUEUE.1]] transactedTargetUnstableWay : Processing {message} = Reply XA transaction: 2 2019-04-02 22:23:34.353 INFO 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-5 >>> (transactedTargetUnstableWay) log[Processing {message} = ${body}] --> ref:toDbMessageProcessor <<< Pattern:InOnly, Headers:{Accept=*/*, breadcrumbId=ID-vkasala-OSX-1554236593617-0-3, CamelHttpCharacterEncoding=UTF-8, CamelHttpMethod=POST, CamelHttpPath=, CamelHttpQuery=entry=2, CamelHttpUri=/api/xa, CamelHttpUrl=http://localhost:8080/api/xa, CamelServletContextPath=/xa, entry=2, Host=localhost:8080, JMSCorrelationID=null, JMSCorrelationIDAsBytes=null, JMSDeliveryMode=2, JMSDestination=ActiveMQQueue[DEV.QUEUE.1], JMSExpiration=0, JMSMessageID=ID:306fdf1c-5585-11e9-b65d-186590d94cf7, JMSPriority=4, JMSRedelivered=false, JMSReplyTo=null, JMSTimestamp=1554236614315, JMSType=null, JMSXDeliveryCount=1, JMSXGroupID=null, JMSXUserID=null, User-Agent=curl/7.54.0}, BodyType:String, Body:Reply XA transaction: 2 2019-04-02 22:23:34.353 INFO 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-5 >>> (transactedTargetUnstableWay) ref:toDbMessageProcessor --> jpa://com.redhat.fuse.quickstarts.DbMessage?flushOnSend=true&usePersist=true <<< Pattern:InOnly, BodyType:com.redhat.fuse.quickstarts.DbMessage, Body:Reply XA transaction: 2 2019-04-02 22:23:34.401 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:34.403 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.registerSynchronization - Class: class org.hibernate.resource.transaction.backend.jta.internal.synchronization.RegisteredSynchronization HashCode: 1781748250 toString: org.hibernate.resource.transaction.backend.jta.internal.synchronization.RegisteredSynchronization@6a33521a 2019-04-02 22:23:34.430 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:34.435 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:34.445 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE Hibernate: insert into message (message_text) values (?) 2019-04-02 22:23:34.453 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:34.598 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.registerSynchronization - Class: class org.apache.commons.dbcp2.managed.TransactionContext$1 HashCode: 175012037 toString: org.apache.commons.dbcp2.managed.TransactionContext$1@a6e78c5 2019-04-02 22:23:34.599 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.enlistResource ( com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ea9ec74 ) 2019-04-02 22:23:34.599 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:34.602 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : StateManager::StateManager( 1, 0 ) 2019-04-02 22:23:34.603 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : AbstractRecord::AbstractRecord (0:ffffc0a8000e:f11d:5ca3c4ab:c, 1) 2019-04-02 22:23:34.603 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : XAResourceRecord.XAResourceRecord ( < formatId=131077, gtrid_length=29, bqual_length=36, tx_uid=0:ffffc0a8000e:f11d:5ca3c4ab:8, node_name=1, branch_uid=0:ffffc0a8000e:f11d:5ca3c4ab:b, subordinatenodename=null, eis_name=0 >, com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ea9ec74 ), record id=0:ffffc0a8000e:f11d:5ca3c4ab:c 2019-04-02 22:23:34.896 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : RecordList::insert(RecordList: empty) : appending /StateManager/AbstractRecord/XAResourceRecord for 0:ffffc0a8000e:f11d:5ca3c4ab:c 2019-04-02 22:23:34.897 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:34.897 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:35.184 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:35.185 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:35.186 INFO 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-5 >>> (transactedTargetUnstableWay) jpa://com.redhat.fuse.quickstarts.DbMessage?flushOnSend=true&usePersist=true --> transform[Simple: ${body.messageText}] <<< Pattern:InOnly, BodyType:com.redhat.fuse.quickstarts.DbMessage, Body:Reply XA transaction: 2 2019-04-02 22:23:35.220 INFO 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-5 >>> (transactedTargetUnstableWay) transform[Simple: ${body.messageText}] --> log[Message saved {message} = ${body}] <<< Pattern:InOnly, BodyType:String, Body:Reply XA transaction: 2 2019-04-02 22:23:35.221 INFO 29568 --- [er[DEV.QUEUE.1]] transactedTargetUnstableWay : Message saved {message} = Reply XA transaction: 2 2019-04-02 22:23:35.221 INFO 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-5 >>> (transactedTargetUnstableWay) log[Message saved {message} = ${body}] --> ref://DEV.QUEUE.2 <<< Pattern:InOnly, BodyType:String, Body:Reply XA transaction: 2 2019-04-02 22:23:35.230 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@78b442cd 2019-04-02 22:23:35.230 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:35.236 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.enlistResource ( ClientSessionImpl [name=30fb5640-5585-11e9-b65d-186590d94cf7, username=admin, closed=false, factory = org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl@4fc679a2, metaData=(jms-session=,)]@7a833f5b ) 2019-04-02 22:23:35.236 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:35.239 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : StateManager::StateManager( 1, 0 ) 2019-04-02 22:23:35.239 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : AbstractRecord::AbstractRecord (0:ffffc0a8000e:f11d:5ca3c4ab:f, 1) 2019-04-02 22:23:35.239 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : XAResourceRecord.XAResourceRecord ( < formatId=131077, gtrid_length=29, bqual_length=36, tx_uid=0:ffffc0a8000e:f11d:5ca3c4ab:8, node_name=1, branch_uid=0:ffffc0a8000e:f11d:5ca3c4ab:e, subordinatenodename=null, eis_name=0 >, ClientSessionImpl [name=30fb5640-5585-11e9-b65d-186590d94cf7, username=admin, closed=false, factory = org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl@4fc679a2, metaData=(jms-session=,)]@7a833f5b ), record id=0:ffffc0a8000e:f11d:5ca3c4ab:f 2019-04-02 22:23:35.243 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : RecordList::insert(RecordList: 0:ffffc0a8000e:f11d:5ca3c4ab:c) : appending /StateManager/AbstractRecord/XAResourceRecord for 0:ffffc0a8000e:f11d:5ca3c4ab:f 2019-04-02 22:23:35.243 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied session: org.jboss.narayana.jta.jms.SessionProxy@2f037f8d 2019-04-02 22:23:35.264 INFO 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-5 >>> (transactedTargetUnstableWay) ref://DEV.QUEUE.2 --> ref:firstTimeExceptionProcessor <<< Pattern:InOnly, BodyType:String, Body:Reply XA transaction: 2 2019-04-02 22:23:35.268 INFO 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-5 >>> (transactedTargetUnstableWay) ref:firstTimeExceptionProcessor --> OnException[RuntimeException] <<< Pattern:InOnly, BodyType:String, Body:Reply XA transaction: 2 2019-04-02 22:23:35.268 INFO 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-5 >>> OnException[RuntimeException] --> mock://xaTransactionErr <<< Pattern:InOnly, BodyType:String, Body:Reply XA transaction: 2 2019-04-02 22:23:35.268 INFO 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-5 >>> mock://xaTransactionErr --> rollback <<< Pattern:InOnly, BodyType:String, Body:Reply XA transaction: 2 2019-04-02 22:23:35.270 WARN 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.DefaultErrorHandler : Rollback (MessageId: ID-vkasala-OSX-1554236593617-0-6 on ExchangeId: ID-vkasala-OSX-1554236593617-0-5) due: Intentional exception Message History --------------------------------------------------------------------------------------------------------------------------------------- RouteId ProcessorId Processor Elapsed (ms) [transactedTargetUn] [transactedTargetUn] [jms://queue:DEV.QUEUE.1?transacted=true ] [ 934] [transactedTargetUn] [transacted1 ] [transacted ] [ 0] [transactedTargetUn] [log2 ] [log ] [ 1] [transactedTargetUn] [process1 ] [ref:toDbMessageProcessor ] [ 0] [transactedTargetUn] [to4 ] [jpa:com.redhat.fuse.quickstarts.DbMessage?flushOnSend=true&usePersist=true ] [ 833] [transactedTargetUn] [transform3 ] [transform[simple{${body.messageText}}] ] [ 34] [transactedTargetUn] [log3 ] [log ] [ 1] [transactedTargetUn] [to5 ] [ref:DEV.QUEUE.2 ] [ 43] [transactedTargetUn] [process2 ] [ref:firstTimeExceptionProcessor ] [ 0] [transactedTargetUn] [to2 ] [mock:xaTransactionErr ] [ 1] [transactedTargetUn] [rollback1 ] [rollback ] [ 0] 2019-04-02 22:23:35.270 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:35.270 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:35.270 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.delistResource ( ClientSessionImpl [name=30fb5640-5585-11e9-b65d-186590d94cf7, username=admin, closed=false, factory = org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl@4fc679a2, metaData=(jms-session=,)]@7a833f5b, 67108864 ) 2019-04-02 22:23:35.270 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:35.272 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Delisted ActiveMQSession->ClientSessionImpl [name=30fb5640-5585-11e9-b65d-186590d94cf7, username=admin, closed=false, factory = org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl@4fc679a2, metaData=(jms-session=,)]@7a833f5b XA resource from the transaction 2019-04-02 22:23:35.272 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.registerSynchronization - Class: class org.jboss.narayana.jta.jms.SessionClosingSynchronization HashCode: 998668721 toString: org.jboss.narayana.jta.jms.SessionClosingSynchronization@3b8679b1 2019-04-02 22:23:35.272 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Registered synchronization to close the session: org.jboss.narayana.jta.jms.SessionClosingSynchronization@3b8679b1 2019-04-02 22:23:35.272 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:35.273 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.registerSynchronization - Class: class org.jboss.narayana.jta.jms.ConnectionClosingSynchronization HashCode: 377686844 toString: org.jboss.narayana.jta.jms.ConnectionClosingSynchronization@16830b3c 2019-04-02 22:23:35.273 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Registered synchronization to close the connection: org.jboss.narayana.jta.jms.ConnectionClosingSynchronization@16830b3c 2019-04-02 22:23:35.273 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:35.273 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : BaseTransaction.rollback 2019-04-02 22:23:35.273 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.rollbackAndDisassociate 2019-04-02 22:23:35.273 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::Abort() for action-id 0:ffffc0a8000e:f11d:5ca3c4ab:8 2019-04-02 22:23:35.273 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::doAbort (XAResourceRecord < resource:com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ea9ec74, txid:< formatId=131077, gtrid_length=29, bqual_length=36, tx_uid=0:ffffc0a8000e:f11d:5ca3c4ab:8, node_name=1, branch_uid=0:ffffc0a8000e:f11d:5ca3c4ab:b, subordinatenodename=null, eis_name=0 >, heuristic: TwoPhaseOutcome.FINISH_OK com.arjuna.ats.internal.jta.resources.arjunacore.XAResourceRecord@59abe47c >) 2019-04-02 22:23:35.273 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : XAResourceRecord.topLevelAbort for XAResourceRecord < resource:com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ea9ec74, txid:< formatId=131077, gtrid_length=29, bqual_length=36, tx_uid=0:ffffc0a8000e:f11d:5ca3c4ab:8, node_name=1, branch_uid=0:ffffc0a8000e:f11d:5ca3c4ab:b, subordinatenodename=null, eis_name=0 >, heuristic: TwoPhaseOutcome.FINISH_OK com.arjuna.ats.internal.jta.resources.arjunacore.XAResourceRecord@59abe47c >, record id=0:ffffc0a8000e:f11d:5ca3c4ab:c 2019-04-02 22:23:35.844 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::doAbort() result for action-id (0:ffffc0a8000e:f11d:5ca3c4ab:8) on record id: (0:ffffc0a8000e:f11d:5ca3c4ab:c) is (TwoPhaseOutcome.FINISH_OK) node id: (1) 2019-04-02 22:23:35.845 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::doAbort (XAResourceRecord < resource:ClientSessionImpl [name=30fb5640-5585-11e9-b65d-186590d94cf7, username=admin, closed=false, factory = org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl@4fc679a2, metaData=(jms-session=,)]@7a833f5b, txid:< formatId=131077, gtrid_length=29, bqual_length=36, tx_uid=0:ffffc0a8000e:f11d:5ca3c4ab:8, node_name=1, branch_uid=0:ffffc0a8000e:f11d:5ca3c4ab:e, subordinatenodename=null, eis_name=0 >, heuristic: TwoPhaseOutcome.FINISH_OK com.arjuna.ats.internal.jta.resources.arjunacore.XAResourceRecord@fffc05c >) 2019-04-02 22:23:35.845 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : XAResourceRecord.topLevelAbort for XAResourceRecord < resource:ClientSessionImpl [name=30fb5640-5585-11e9-b65d-186590d94cf7, username=admin, closed=false, factory = org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl@4fc679a2, metaData=(jms-session=,)]@7a833f5b, txid:< formatId=131077, gtrid_length=29, bqual_length=36, tx_uid=0:ffffc0a8000e:f11d:5ca3c4ab:8, node_name=1, branch_uid=0:ffffc0a8000e:f11d:5ca3c4ab:e, subordinatenodename=null, eis_name=0 >, heuristic: TwoPhaseOutcome.FINISH_OK com.arjuna.ats.internal.jta.resources.arjunacore.XAResourceRecord@fffc05c >, record id=0:ffffc0a8000e:f11d:5ca3c4ab:f 2019-04-02 22:23:35.851 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::doAbort() result for action-id (0:ffffc0a8000e:f11d:5ca3c4ab:8) on record id: (0:ffffc0a8000e:f11d:5ca3c4ab:f) is (TwoPhaseOutcome.FINISH_OK) node id: (1) 2019-04-02 22:23:35.852 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : SynchronizationImple.afterCompletion - Class: class org.jboss.narayana.jta.jms.ConnectionClosingSynchronization HashCode: 377686844 toString: org.jboss.narayana.jta.jms.ConnectionClosingSynchronization@16830b3c 2019-04-02 22:23:35.852 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Closing connection org.apache.activemq.artemis.jms.client.ActiveMQXAConnection@459b017 2019-04-02 22:23:35.855 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : SynchronizationImple.afterCompletion - Class: class org.jboss.narayana.jta.jms.SessionClosingSynchronization HashCode: 998668721 toString: org.jboss.narayana.jta.jms.SessionClosingSynchronization@3b8679b1 2019-04-02 22:23:35.856 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Closing session ActiveMQSession->ClientSessionImpl [name=30fb5640-5585-11e9-b65d-186590d94cf7, username=admin, closed=true, factory = org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl@4fc679a2, metaData=(jms-session=,)]@7a833f5b 2019-04-02 22:23:35.856 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : SynchronizationImple.afterCompletion - Class: class org.apache.commons.dbcp2.managed.TransactionContext$1 HashCode: 175012037 toString: org.apache.commons.dbcp2.managed.TransactionContext$1@a6e78c5 2019-04-02 22:23:35.856 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : SynchronizationImple.afterCompletion - Class: class org.hibernate.resource.transaction.backend.jta.internal.synchronization.RegisteredSynchronization HashCode: 1781748250 toString: org.hibernate.resource.transaction.backend.jta.internal.synchronization.RegisteredSynchronization@6a33521a 2019-04-02 22:23:35.857 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::removeChildThread () action 0:ffffc0a8000e:f11d:5ca3c4ab:8 removing 1 2019-04-02 22:23:35.858 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::removeChildThread () action 0:ffffc0a8000e:f11d:5ca3c4ab:8 removing 1 result = true 2019-04-02 22:23:35.858 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : TransactionReaper::remove ( BasicAction: 0:ffffc0a8000e:f11d:5ca3c4ab:8 status: ActionStatus.ABORTED ) 2019-04-02 22:23:35.858 WARN 29568 --- [er[DEV.QUEUE.1]] o.a.c.s.spi.TransactionErrorHandler : Transaction rollback (0x7851c831) redelivered(false) for (MessageId: ID:306fdf1c-5585-11e9-b65d-186590d94cf7 on ExchangeId: ID-vkasala-OSX-1554236593617-0-5) due exchange was marked for rollbackOnly 2019-04-02 22:23:35.858 WARN 29568 --- [er[DEV.QUEUE.1]] o.a.c.c.jms.EndpointMessageListener : Execution of JMS message listener failed. Caused by: [org.apache.camel.RuntimeCamelException - org.apache.camel.RollbackExchangeException: Intended rollback. Exchange[ID-vkasala-OSX-1554236593617-0-5]] 2019-04-02 22:23:35.878 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@3bf3ee35 2019-04-02 22:23:35.889 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : BaseTransaction.begin 2019-04-02 22:23:35.889 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : StateManager::StateManager( 2, 0 ) 2019-04-02 22:23:35.889 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::BasicAction() 2019-04-02 22:23:35.889 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::Begin() for action-id 0:ffffc0a8000e:f11d:5ca3c4ab:13 2019-04-02 22:23:35.889 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::actionInitialise() for action-id 0:ffffc0a8000e:f11d:5ca3c4ab:13 2019-04-02 22:23:35.889 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : ActionHierarchy::ActionHierarchy(1) 2019-04-02 22:23:35.889 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : ActionHierarchy::add(0:ffffc0a8000e:f11d:5ca3c4ab:13, 1) 2019-04-02 22:23:35.889 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::addChildThread () action 0:ffffc0a8000e:f11d:5ca3c4ab:13 adding Thread[Camel (SpringBootCamelXa) thread #1 - JmsConsumer[DEV.QUEUE.1],5,com.redhat.fuse.quickstarts.Application] 2019-04-02 22:23:35.889 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::addChildThread () action 0:ffffc0a8000e:f11d:5ca3c4ab:13 adding Thread[Camel (SpringBootCamelXa) thread #1 - JmsConsumer[DEV.QUEUE.1],5,com.redhat.fuse.quickstarts.Application] result = true 2019-04-02 22:23:35.889 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : TransactionReaper::insert ( BasicAction: 0:ffffc0a8000e:f11d:5ca3c4ab:13 status: ActionStatus.RUNNING, 60 ) 2019-04-02 22:23:35.889 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : ReaperElement::ReaperElement ( BasicAction: 0:ffffc0a8000e:f11d:5ca3c4ab:13 status: ActionStatus.RUNNING, 60 ) 2019-04-02 22:23:35.889 INFO 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-8 >>> (transactedTargetUnstableWay) from(jms://queue:DEV.QUEUE.1?transacted=true) --> transacted <<< Pattern:InOnly, Headers:{Accept=*/*, breadcrumbId=ID-vkasala-OSX-1554236593617-0-3, CamelHttpCharacterEncoding=UTF-8, CamelHttpMethod=POST, CamelHttpPath=, CamelHttpQuery=entry=2, CamelHttpUri=/api/xa, CamelHttpUrl=http://localhost:8080/api/xa, CamelServletContextPath=/xa, entry=2, Host=localhost:8080, JMSCorrelationID=null, JMSCorrelationIDAsBytes=null, JMSDeliveryMode=2, JMSDestination=ActiveMQQueue[DEV.QUEUE.1], JMSExpiration=0, JMSMessageID=ID:306fdf1c-5585-11e9-b65d-186590d94cf7, JMSPriority=4, JMSRedelivered=true, JMSReplyTo=null, JMSTimestamp=1554236614315, JMSType=null, JMSXDeliveryCount=2, JMSXGroupID=null, JMSXUserID=null, User-Agent=curl/7.54.0}, BodyType:String, Body:Reply XA transaction: 2 2019-04-02 22:23:35.889 INFO 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-8 >>> (transactedTargetUnstableWay) transacted --> log[Processing {message} = ${body}] <<< Pattern:InOnly, Headers:{Accept=*/*, breadcrumbId=ID-vkasala-OSX-1554236593617-0-3, CamelHttpCharacterEncoding=UTF-8, CamelHttpMethod=POST, CamelHttpPath=, CamelHttpQuery=entry=2, CamelHttpUri=/api/xa, CamelHttpUrl=http://localhost:8080/api/xa, CamelServletContextPath=/xa, entry=2, Host=localhost:8080, JMSCorrelationID=null, JMSCorrelationIDAsBytes=null, JMSDeliveryMode=2, JMSDestination=ActiveMQQueue[DEV.QUEUE.1], JMSExpiration=0, JMSMessageID=ID:306fdf1c-5585-11e9-b65d-186590d94cf7, JMSPriority=4, JMSRedelivered=true, JMSReplyTo=null, JMSTimestamp=1554236614315, JMSType=null, JMSXDeliveryCount=2, JMSXGroupID=null, JMSXUserID=null, User-Agent=curl/7.54.0}, BodyType:String, Body:Reply XA transaction: 2 2019-04-02 22:23:35.889 INFO 29568 --- [er[DEV.QUEUE.1]] transactedTargetUnstableWay : Processing {message} = Reply XA transaction: 2 2019-04-02 22:23:35.890 INFO 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-8 >>> (transactedTargetUnstableWay) log[Processing {message} = ${body}] --> ref:toDbMessageProcessor <<< Pattern:InOnly, Headers:{Accept=*/*, breadcrumbId=ID-vkasala-OSX-1554236593617-0-3, CamelHttpCharacterEncoding=UTF-8, CamelHttpMethod=POST, CamelHttpPath=, CamelHttpQuery=entry=2, CamelHttpUri=/api/xa, CamelHttpUrl=http://localhost:8080/api/xa, CamelServletContextPath=/xa, entry=2, Host=localhost:8080, JMSCorrelationID=null, JMSCorrelationIDAsBytes=null, JMSDeliveryMode=2, JMSDestination=ActiveMQQueue[DEV.QUEUE.1], JMSExpiration=0, JMSMessageID=ID:306fdf1c-5585-11e9-b65d-186590d94cf7, JMSPriority=4, JMSRedelivered=true, JMSReplyTo=null, JMSTimestamp=1554236614315, JMSType=null, JMSXDeliveryCount=2, JMSXGroupID=null, JMSXUserID=null, User-Agent=curl/7.54.0}, BodyType:String, Body:Reply XA transaction: 2 2019-04-02 22:23:35.890 INFO 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-8 >>> (transactedTargetUnstableWay) ref:toDbMessageProcessor --> jpa://com.redhat.fuse.quickstarts.DbMessage?flushOnSend=true&usePersist=true <<< Pattern:InOnly, BodyType:com.redhat.fuse.quickstarts.DbMessage, Body:Reply XA transaction: 2 2019-04-02 22:23:35.890 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:35.890 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.registerSynchronization - Class: class org.hibernate.resource.transaction.backend.jta.internal.synchronization.RegisteredSynchronization HashCode: 2147464058 toString: org.hibernate.resource.transaction.backend.jta.internal.synchronization.RegisteredSynchronization@7fffb37a 2019-04-02 22:23:35.890 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:35.890 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:35.890 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE Hibernate: insert into message (message_text) values (?) 2019-04-02 22:23:35.891 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:36.030 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.registerSynchronization - Class: class org.apache.commons.dbcp2.managed.TransactionContext$1 HashCode: 1911025614 toString: org.apache.commons.dbcp2.managed.TransactionContext$1@71e7efce 2019-04-02 22:23:36.030 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.enlistResource ( com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ea9ec74 ) 2019-04-02 22:23:36.030 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:36.030 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : StateManager::StateManager( 1, 0 ) 2019-04-02 22:23:36.031 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : AbstractRecord::AbstractRecord (0:ffffc0a8000e:f11d:5ca3c4ab:17, 1) 2019-04-02 22:23:36.031 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : XAResourceRecord.XAResourceRecord ( < formatId=131077, gtrid_length=29, bqual_length=36, tx_uid=0:ffffc0a8000e:f11d:5ca3c4ab:13, node_name=1, branch_uid=0:ffffc0a8000e:f11d:5ca3c4ab:16, subordinatenodename=null, eis_name=0 >, com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ea9ec74 ), record id=0:ffffc0a8000e:f11d:5ca3c4ab:17 2019-04-02 22:23:36.315 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : RecordList::insert(RecordList: empty) : appending /StateManager/AbstractRecord/XAResourceRecord for 0:ffffc0a8000e:f11d:5ca3c4ab:17 2019-04-02 22:23:36.316 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:36.316 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:36.604 WARN 29568 --- [er[DEV.QUEUE.1]] o.h.engine.jdbc.spi.SqlExceptionHelper : SQL Error: 1062, SQLState: 23000 2019-04-02 22:23:36.605 ERROR 29568 --- [er[DEV.QUEUE.1]] o.h.engine.jdbc.spi.SqlExceptionHelper : Duplicate entry 'Reply XA transaction: 2' for key 'PRIMARY' 2019-04-02 22:23:36.606 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:36.606 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:36.608 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:36.608 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : BaseTransaction.setRollbackOnly 2019-04-02 22:23:36.608 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.setRollbackOnly 2019-04-02 22:23:36.608 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::preventCommit( BasicAction: 0:ffffc0a8000e:f11d:5ca3c4ab:13 status: ActionStatus.RUNNING) 2019-04-02 22:23:36.608 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_MARKED_ROLLBACK 2019-04-02 22:23:36.608 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : BaseTransaction.setRollbackOnly 2019-04-02 22:23:36.608 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.setRollbackOnly 2019-04-02 22:23:36.608 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::preventCommit( BasicAction: 0:ffffc0a8000e:f11d:5ca3c4ab:13 status: ActionStatus.ABORT_ONLY) 2019-04-02 22:23:36.609 INFO 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-8 >>> (transactedTargetUnstableWay) jpa://com.redhat.fuse.quickstarts.DbMessage?flushOnSend=true&usePersist=true --> OnException[PersistenceException] <<< Pattern:InOnly, BodyType:com.redhat.fuse.quickstarts.DbMessage, Body:Reply XA transaction: 2 2019-04-02 22:23:36.609 INFO 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-8 >>> OnException[PersistenceException] --> mock://xaTransactionErr <<< Pattern:InOnly, BodyType:com.redhat.fuse.quickstarts.DbMessage, Body:Reply XA transaction: 2 2019-04-02 22:23:36.609 INFO 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-8 >>> mock://xaTransactionErr --> rollback <<< Pattern:InOnly, BodyType:com.redhat.fuse.quickstarts.DbMessage, Body:Reply XA transaction: 2 2019-04-02 22:23:36.610 WARN 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.DefaultErrorHandler : Rollback (MessageId: ID-vkasala-OSX-1554236593617-0-9 on ExchangeId: ID-vkasala-OSX-1554236593617-0-8) due: org.hibernate.exception.ConstraintViolationException: could not execute statement Message History --------------------------------------------------------------------------------------------------------------------------------------- RouteId ProcessorId Processor Elapsed (ms) [transactedTargetUn] [transactedTargetUn] [jms://queue:DEV.QUEUE.1?transacted=true ] [ 721] [transactedTargetUn] [transacted1 ] [transacted ] [ 0] [transactedTargetUn] [log2 ] [log ] [ 0] [transactedTargetUn] [process1 ] [ref:toDbMessageProcessor ] [ 0] [transactedTargetUn] [to4 ] [jpa:com.redhat.fuse.quickstarts.DbMessage?flushOnSend=true&usePersist=true ] [ 0] [transactedTargetUn] [to2 ] [mock:xaTransactionErr ] [ 1] [transactedTargetUn] [rollback1 ] [rollback ] [ 0] 2019-04-02 22:23:36.610 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_MARKED_ROLLBACK 2019-04-02 22:23:36.610 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_MARKED_ROLLBACK 2019-04-02 22:23:36.610 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : BaseTransaction.rollback 2019-04-02 22:23:36.610 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.rollbackAndDisassociate 2019-04-02 22:23:36.610 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::Abort() for action-id 0:ffffc0a8000e:f11d:5ca3c4ab:13 2019-04-02 22:23:36.610 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::doAbort (XAResourceRecord < resource:com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ea9ec74, txid:< formatId=131077, gtrid_length=29, bqual_length=36, tx_uid=0:ffffc0a8000e:f11d:5ca3c4ab:13, node_name=1, branch_uid=0:ffffc0a8000e:f11d:5ca3c4ab:16, subordinatenodename=null, eis_name=0 >, heuristic: TwoPhaseOutcome.FINISH_OK com.arjuna.ats.internal.jta.resources.arjunacore.XAResourceRecord@798b82d4 >) 2019-04-02 22:23:36.610 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : XAResourceRecord.topLevelAbort for XAResourceRecord < resource:com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ea9ec74, txid:< formatId=131077, gtrid_length=29, bqual_length=36, tx_uid=0:ffffc0a8000e:f11d:5ca3c4ab:13, node_name=1, branch_uid=0:ffffc0a8000e:f11d:5ca3c4ab:16, subordinatenodename=null, eis_name=0 >, heuristic: TwoPhaseOutcome.FINISH_OK com.arjuna.ats.internal.jta.resources.arjunacore.XAResourceRecord@798b82d4 >, record id=0:ffffc0a8000e:f11d:5ca3c4ab:17 2019-04-02 22:23:37.191 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::doAbort() result for action-id (0:ffffc0a8000e:f11d:5ca3c4ab:13) on record id: (0:ffffc0a8000e:f11d:5ca3c4ab:17) is (TwoPhaseOutcome.FINISH_OK) node id: (1) 2019-04-02 22:23:37.191 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : SynchronizationImple.afterCompletion - Class: class org.apache.commons.dbcp2.managed.TransactionContext$1 HashCode: 1911025614 toString: org.apache.commons.dbcp2.managed.TransactionContext$1@71e7efce 2019-04-02 22:23:37.191 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : SynchronizationImple.afterCompletion - Class: class org.hibernate.resource.transaction.backend.jta.internal.synchronization.RegisteredSynchronization HashCode: 2147464058 toString: org.hibernate.resource.transaction.backend.jta.internal.synchronization.RegisteredSynchronization@7fffb37a 2019-04-02 22:23:37.191 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::removeChildThread () action 0:ffffc0a8000e:f11d:5ca3c4ab:13 removing 1 2019-04-02 22:23:37.191 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::removeChildThread () action 0:ffffc0a8000e:f11d:5ca3c4ab:13 removing 1 result = true 2019-04-02 22:23:37.191 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : TransactionReaper::remove ( BasicAction: 0:ffffc0a8000e:f11d:5ca3c4ab:13 status: ActionStatus.ABORTED ) 2019-04-02 22:23:37.191 WARN 29568 --- [er[DEV.QUEUE.1]] o.a.c.s.spi.TransactionErrorHandler : Transaction rollback (0x7851c831) redelivered(true) for (MessageId: ID:306fdf1c-5585-11e9-b65d-186590d94cf7 on ExchangeId: ID-vkasala-OSX-1554236593617-0-8) due exchange was marked for rollbackOnly 2019-04-02 22:23:37.192 WARN 29568 --- [er[DEV.QUEUE.1]] o.a.c.c.jms.EndpointMessageListener : Execution of JMS message listener failed. Caused by: [org.apache.camel.RuntimeCamelException - org.apache.camel.RollbackExchangeException: Intended rollback. Exchange[ID-vkasala-OSX-1554236593617-0-8]] 2019-04-02 22:23:37.211 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@5f78313d 2019-04-02 22:23:37.220 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : BaseTransaction.begin 2019-04-02 22:23:37.220 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : StateManager::StateManager( 2, 0 ) 2019-04-02 22:23:37.220 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::BasicAction() 2019-04-02 22:23:37.220 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::Begin() for action-id 0:ffffc0a8000e:f11d:5ca3c4ab:19 2019-04-02 22:23:37.220 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::actionInitialise() for action-id 0:ffffc0a8000e:f11d:5ca3c4ab:19 2019-04-02 22:23:37.220 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : ActionHierarchy::ActionHierarchy(1) 2019-04-02 22:23:37.220 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : ActionHierarchy::add(0:ffffc0a8000e:f11d:5ca3c4ab:19, 1) 2019-04-02 22:23:37.220 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::addChildThread () action 0:ffffc0a8000e:f11d:5ca3c4ab:19 adding Thread[Camel (SpringBootCamelXa) thread #1 - JmsConsumer[DEV.QUEUE.1],5,com.redhat.fuse.quickstarts.Application] 2019-04-02 22:23:37.221 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::addChildThread () action 0:ffffc0a8000e:f11d:5ca3c4ab:19 adding Thread[Camel (SpringBootCamelXa) thread #1 - JmsConsumer[DEV.QUEUE.1],5,com.redhat.fuse.quickstarts.Application] result = true 2019-04-02 22:23:37.221 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : TransactionReaper::insert ( BasicAction: 0:ffffc0a8000e:f11d:5ca3c4ab:19 status: ActionStatus.RUNNING, 60 ) 2019-04-02 22:23:37.221 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : ReaperElement::ReaperElement ( BasicAction: 0:ffffc0a8000e:f11d:5ca3c4ab:19 status: ActionStatus.RUNNING, 60 ) 2019-04-02 22:23:37.221 INFO 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-10 >>> (transactedTargetUnstableWay) from(jms://queue:DEV.QUEUE.1?transacted=true) --> transacted <<< Pattern:InOnly, Headers:{Accept=*/*, breadcrumbId=ID-vkasala-OSX-1554236593617-0-3, CamelHttpCharacterEncoding=UTF-8, CamelHttpMethod=POST, CamelHttpPath=, CamelHttpQuery=entry=2, CamelHttpUri=/api/xa, CamelHttpUrl=http://localhost:8080/api/xa, CamelServletContextPath=/xa, entry=2, Host=localhost:8080, JMSCorrelationID=null, JMSCorrelationIDAsBytes=null, JMSDeliveryMode=2, JMSDestination=ActiveMQQueue[DEV.QUEUE.1], JMSExpiration=0, JMSMessageID=ID:306fdf1c-5585-11e9-b65d-186590d94cf7, JMSPriority=4, JMSRedelivered=true, JMSReplyTo=null, JMSTimestamp=1554236614315, JMSType=null, JMSXDeliveryCount=3, JMSXGroupID=null, JMSXUserID=null, User-Agent=curl/7.54.0}, BodyType:String, Body:Reply XA transaction: 2 2019-04-02 22:23:37.221 INFO 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-10 >>> (transactedTargetUnstableWay) transacted --> log[Processing {message} = ${body}] <<< Pattern:InOnly, Headers:{Accept=*/*, breadcrumbId=ID-vkasala-OSX-1554236593617-0-3, CamelHttpCharacterEncoding=UTF-8, CamelHttpMethod=POST, CamelHttpPath=, CamelHttpQuery=entry=2, CamelHttpUri=/api/xa, CamelHttpUrl=http://localhost:8080/api/xa, CamelServletContextPath=/xa, entry=2, Host=localhost:8080, JMSCorrelationID=null, JMSCorrelationIDAsBytes=null, JMSDeliveryMode=2, JMSDestination=ActiveMQQueue[DEV.QUEUE.1], JMSExpiration=0, JMSMessageID=ID:306fdf1c-5585-11e9-b65d-186590d94cf7, JMSPriority=4, JMSRedelivered=true, JMSReplyTo=null, JMSTimestamp=1554236614315, JMSType=null, JMSXDeliveryCount=3, JMSXGroupID=null, JMSXUserID=null, User-Agent=curl/7.54.0}, BodyType:String, Body:Reply XA transaction: 2 2019-04-02 22:23:37.221 INFO 29568 --- [er[DEV.QUEUE.1]] transactedTargetUnstableWay : Processing {message} = Reply XA transaction: 2 2019-04-02 22:23:37.221 INFO 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-10 >>> (transactedTargetUnstableWay) log[Processing {message} = ${body}] --> ref:toDbMessageProcessor <<< Pattern:InOnly, Headers:{Accept=*/*, breadcrumbId=ID-vkasala-OSX-1554236593617-0-3, CamelHttpCharacterEncoding=UTF-8, CamelHttpMethod=POST, CamelHttpPath=, CamelHttpQuery=entry=2, CamelHttpUri=/api/xa, CamelHttpUrl=http://localhost:8080/api/xa, CamelServletContextPath=/xa, entry=2, Host=localhost:8080, JMSCorrelationID=null, JMSCorrelationIDAsBytes=null, JMSDeliveryMode=2, JMSDestination=ActiveMQQueue[DEV.QUEUE.1], JMSExpiration=0, JMSMessageID=ID:306fdf1c-5585-11e9-b65d-186590d94cf7, JMSPriority=4, JMSRedelivered=true, JMSReplyTo=null, JMSTimestamp=1554236614315, JMSType=null, JMSXDeliveryCount=3, JMSXGroupID=null, JMSXUserID=null, User-Agent=curl/7.54.0}, BodyType:String, Body:Reply XA transaction: 2 2019-04-02 22:23:37.221 INFO 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-10 >>> (transactedTargetUnstableWay) ref:toDbMessageProcessor --> jpa://com.redhat.fuse.quickstarts.DbMessage?flushOnSend=true&usePersist=true <<< Pattern:InOnly, BodyType:com.redhat.fuse.quickstarts.DbMessage, Body:Reply XA transaction: 2 2019-04-02 22:23:37.222 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:37.222 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.registerSynchronization - Class: class org.hibernate.resource.transaction.backend.jta.internal.synchronization.RegisteredSynchronization HashCode: 777120712 toString: org.hibernate.resource.transaction.backend.jta.internal.synchronization.RegisteredSynchronization@2e51ebc8 2019-04-02 22:23:37.222 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:37.222 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:37.222 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE Hibernate: insert into message (message_text) values (?) 2019-04-02 22:23:37.222 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:37.366 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.registerSynchronization - Class: class org.apache.commons.dbcp2.managed.TransactionContext$1 HashCode: 2065844541 toString: org.apache.commons.dbcp2.managed.TransactionContext$1@7b22493d 2019-04-02 22:23:37.366 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.enlistResource ( com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ea9ec74 ) 2019-04-02 22:23:37.366 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:37.366 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : StateManager::StateManager( 1, 0 ) 2019-04-02 22:23:37.366 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : AbstractRecord::AbstractRecord (0:ffffc0a8000e:f11d:5ca3c4ab:1d, 1) 2019-04-02 22:23:37.366 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : XAResourceRecord.XAResourceRecord ( < formatId=131077, gtrid_length=29, bqual_length=36, tx_uid=0:ffffc0a8000e:f11d:5ca3c4ab:19, node_name=1, branch_uid=0:ffffc0a8000e:f11d:5ca3c4ab:1c, subordinatenodename=null, eis_name=0 >, com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ea9ec74 ), record id=0:ffffc0a8000e:f11d:5ca3c4ab:1d 2019-04-02 22:23:37.655 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : RecordList::insert(RecordList: empty) : appending /StateManager/AbstractRecord/XAResourceRecord for 0:ffffc0a8000e:f11d:5ca3c4ab:1d 2019-04-02 22:23:37.656 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:37.656 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:37.946 WARN 29568 --- [er[DEV.QUEUE.1]] o.h.engine.jdbc.spi.SqlExceptionHelper : SQL Error: 1062, SQLState: 23000 2019-04-02 22:23:37.947 ERROR 29568 --- [er[DEV.QUEUE.1]] o.h.engine.jdbc.spi.SqlExceptionHelper : Duplicate entry 'Reply XA transaction: 2' for key 'PRIMARY' 2019-04-02 22:23:37.947 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:37.947 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:37.947 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:37.947 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : BaseTransaction.setRollbackOnly 2019-04-02 22:23:37.947 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.setRollbackOnly 2019-04-02 22:23:37.947 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::preventCommit( BasicAction: 0:ffffc0a8000e:f11d:5ca3c4ab:19 status: ActionStatus.RUNNING) 2019-04-02 22:23:37.947 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_MARKED_ROLLBACK 2019-04-02 22:23:37.947 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : BaseTransaction.setRollbackOnly 2019-04-02 22:23:37.947 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.setRollbackOnly 2019-04-02 22:23:37.948 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::preventCommit( BasicAction: 0:ffffc0a8000e:f11d:5ca3c4ab:19 status: ActionStatus.ABORT_ONLY) 2019-04-02 22:23:37.948 INFO 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-10 >>> (transactedTargetUnstableWay) jpa://com.redhat.fuse.quickstarts.DbMessage?flushOnSend=true&usePersist=true --> OnException[PersistenceException] <<< Pattern:InOnly, BodyType:com.redhat.fuse.quickstarts.DbMessage, Body:Reply XA transaction: 2 2019-04-02 22:23:37.948 INFO 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-10 >>> OnException[PersistenceException] --> mock://xaTransactionErr <<< Pattern:InOnly, BodyType:com.redhat.fuse.quickstarts.DbMessage, Body:Reply XA transaction: 2 2019-04-02 22:23:37.949 INFO 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-10 >>> mock://xaTransactionErr --> rollback <<< Pattern:InOnly, BodyType:com.redhat.fuse.quickstarts.DbMessage, Body:Reply XA transaction: 2 2019-04-02 22:23:37.949 WARN 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.DefaultErrorHandler : Rollback (MessageId: ID-vkasala-OSX-1554236593617-0-11 on ExchangeId: ID-vkasala-OSX-1554236593617-0-10) due: org.hibernate.exception.ConstraintViolationException: could not execute statement Message History --------------------------------------------------------------------------------------------------------------------------------------- RouteId ProcessorId Processor Elapsed (ms) [transactedTargetUn] [transactedTargetUn] [jms://queue:DEV.QUEUE.1?transacted=true ] [ 729] [transactedTargetUn] [transacted1 ] [transacted ] [ 0] [transactedTargetUn] [log2 ] [log ] [ 0] [transactedTargetUn] [process1 ] [ref:toDbMessageProcessor ] [ 0] [transactedTargetUn] [to4 ] [jpa:com.redhat.fuse.quickstarts.DbMessage?flushOnSend=true&usePersist=true ] [ 0] [transactedTargetUn] [to2 ] [mock:xaTransactionErr ] [ 0] [transactedTargetUn] [rollback1 ] [rollback ] [ 1] 2019-04-02 22:23:37.950 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_MARKED_ROLLBACK 2019-04-02 22:23:37.950 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_MARKED_ROLLBACK 2019-04-02 22:23:37.950 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : BaseTransaction.rollback 2019-04-02 22:23:37.950 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.rollbackAndDisassociate 2019-04-02 22:23:37.950 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::Abort() for action-id 0:ffffc0a8000e:f11d:5ca3c4ab:19 2019-04-02 22:23:37.950 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::doAbort (XAResourceRecord < resource:com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ea9ec74, txid:< formatId=131077, gtrid_length=29, bqual_length=36, tx_uid=0:ffffc0a8000e:f11d:5ca3c4ab:19, node_name=1, branch_uid=0:ffffc0a8000e:f11d:5ca3c4ab:1c, subordinatenodename=null, eis_name=0 >, heuristic: TwoPhaseOutcome.FINISH_OK com.arjuna.ats.internal.jta.resources.arjunacore.XAResourceRecord@52d504f2 >) 2019-04-02 22:23:37.950 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : XAResourceRecord.topLevelAbort for XAResourceRecord < resource:com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ea9ec74, txid:< formatId=131077, gtrid_length=29, bqual_length=36, tx_uid=0:ffffc0a8000e:f11d:5ca3c4ab:19, node_name=1, branch_uid=0:ffffc0a8000e:f11d:5ca3c4ab:1c, subordinatenodename=null, eis_name=0 >, heuristic: TwoPhaseOutcome.FINISH_OK com.arjuna.ats.internal.jta.resources.arjunacore.XAResourceRecord@52d504f2 >, record id=0:ffffc0a8000e:f11d:5ca3c4ab:1d 2019-04-02 22:23:38.517 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::doAbort() result for action-id (0:ffffc0a8000e:f11d:5ca3c4ab:19) on record id: (0:ffffc0a8000e:f11d:5ca3c4ab:1d) is (TwoPhaseOutcome.FINISH_OK) node id: (1) 2019-04-02 22:23:38.517 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : SynchronizationImple.afterCompletion - Class: class org.apache.commons.dbcp2.managed.TransactionContext$1 HashCode: 2065844541 toString: org.apache.commons.dbcp2.managed.TransactionContext$1@7b22493d 2019-04-02 22:23:38.517 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : SynchronizationImple.afterCompletion - Class: class org.hibernate.resource.transaction.backend.jta.internal.synchronization.RegisteredSynchronization HashCode: 777120712 toString: org.hibernate.resource.transaction.backend.jta.internal.synchronization.RegisteredSynchronization@2e51ebc8 2019-04-02 22:23:38.517 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::removeChildThread () action 0:ffffc0a8000e:f11d:5ca3c4ab:19 removing 1 2019-04-02 22:23:38.517 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::removeChildThread () action 0:ffffc0a8000e:f11d:5ca3c4ab:19 removing 1 result = true 2019-04-02 22:23:38.517 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : TransactionReaper::remove ( BasicAction: 0:ffffc0a8000e:f11d:5ca3c4ab:19 status: ActionStatus.ABORTED ) 2019-04-02 22:23:38.517 WARN 29568 --- [er[DEV.QUEUE.1]] o.a.c.s.spi.TransactionErrorHandler : Transaction rollback (0x7851c831) redelivered(true) for (MessageId: ID:306fdf1c-5585-11e9-b65d-186590d94cf7 on ExchangeId: ID-vkasala-OSX-1554236593617-0-10) due exchange was marked for rollbackOnly 2019-04-02 22:23:38.518 WARN 29568 --- [er[DEV.QUEUE.1]] o.a.c.c.jms.EndpointMessageListener : Execution of JMS message listener failed. Caused by: [org.apache.camel.RuntimeCamelException - org.apache.camel.RollbackExchangeException: Intended rollback. Exchange[ID-vkasala-OSX-1554236593617-0-10]] 2019-04-02 22:23:38.575 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@7d69ac20 2019-04-02 22:23:38.593 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : BaseTransaction.begin 2019-04-02 22:23:38.593 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : StateManager::StateManager( 2, 0 ) 2019-04-02 22:23:38.593 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::BasicAction() 2019-04-02 22:23:38.593 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::Begin() for action-id 0:ffffc0a8000e:f11d:5ca3c4ab:1f 2019-04-02 22:23:38.594 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::actionInitialise() for action-id 0:ffffc0a8000e:f11d:5ca3c4ab:1f 2019-04-02 22:23:38.594 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : ActionHierarchy::ActionHierarchy(1) 2019-04-02 22:23:38.594 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : ActionHierarchy::add(0:ffffc0a8000e:f11d:5ca3c4ab:1f, 1) 2019-04-02 22:23:38.594 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::addChildThread () action 0:ffffc0a8000e:f11d:5ca3c4ab:1f adding Thread[Camel (SpringBootCamelXa) thread #1 - JmsConsumer[DEV.QUEUE.1],5,com.redhat.fuse.quickstarts.Application] 2019-04-02 22:23:38.594 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::addChildThread () action 0:ffffc0a8000e:f11d:5ca3c4ab:1f adding Thread[Camel (SpringBootCamelXa) thread #1 - JmsConsumer[DEV.QUEUE.1],5,com.redhat.fuse.quickstarts.Application] result = true 2019-04-02 22:23:38.594 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : TransactionReaper::insert ( BasicAction: 0:ffffc0a8000e:f11d:5ca3c4ab:1f status: ActionStatus.RUNNING, 60 ) 2019-04-02 22:23:38.594 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : ReaperElement::ReaperElement ( BasicAction: 0:ffffc0a8000e:f11d:5ca3c4ab:1f status: ActionStatus.RUNNING, 60 ) 2019-04-02 22:23:38.594 INFO 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-12 >>> (transactedTargetUnstableWay) from(jms://queue:DEV.QUEUE.1?transacted=true) --> transacted <<< Pattern:InOnly, Headers:{Accept=*/*, breadcrumbId=ID-vkasala-OSX-1554236593617-0-3, CamelHttpCharacterEncoding=UTF-8, CamelHttpMethod=POST, CamelHttpPath=, CamelHttpQuery=entry=2, CamelHttpUri=/api/xa, CamelHttpUrl=http://localhost:8080/api/xa, CamelServletContextPath=/xa, entry=2, Host=localhost:8080, JMSCorrelationID=null, JMSCorrelationIDAsBytes=null, JMSDeliveryMode=2, JMSDestination=ActiveMQQueue[DEV.QUEUE.1], JMSExpiration=0, JMSMessageID=ID:306fdf1c-5585-11e9-b65d-186590d94cf7, JMSPriority=4, JMSRedelivered=true, JMSReplyTo=null, JMSTimestamp=1554236614315, JMSType=null, JMSXDeliveryCount=4, JMSXGroupID=null, JMSXUserID=null, User-Agent=curl/7.54.0}, BodyType:String, Body:Reply XA transaction: 2 2019-04-02 22:23:38.594 INFO 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-12 >>> (transactedTargetUnstableWay) transacted --> log[Processing {message} = ${body}] <<< Pattern:InOnly, Headers:{Accept=*/*, breadcrumbId=ID-vkasala-OSX-1554236593617-0-3, CamelHttpCharacterEncoding=UTF-8, CamelHttpMethod=POST, CamelHttpPath=, CamelHttpQuery=entry=2, CamelHttpUri=/api/xa, CamelHttpUrl=http://localhost:8080/api/xa, CamelServletContextPath=/xa, entry=2, Host=localhost:8080, JMSCorrelationID=null, JMSCorrelationIDAsBytes=null, JMSDeliveryMode=2, JMSDestination=ActiveMQQueue[DEV.QUEUE.1], JMSExpiration=0, JMSMessageID=ID:306fdf1c-5585-11e9-b65d-186590d94cf7, JMSPriority=4, JMSRedelivered=true, JMSReplyTo=null, JMSTimestamp=1554236614315, JMSType=null, JMSXDeliveryCount=4, JMSXGroupID=null, JMSXUserID=null, User-Agent=curl/7.54.0}, BodyType:String, Body:Reply XA transaction: 2 2019-04-02 22:23:38.594 INFO 29568 --- [er[DEV.QUEUE.1]] transactedTargetUnstableWay : Processing {message} = Reply XA transaction: 2 2019-04-02 22:23:38.594 INFO 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-12 >>> (transactedTargetUnstableWay) log[Processing {message} = ${body}] --> ref:toDbMessageProcessor <<< Pattern:InOnly, Headers:{Accept=*/*, breadcrumbId=ID-vkasala-OSX-1554236593617-0-3, CamelHttpCharacterEncoding=UTF-8, CamelHttpMethod=POST, CamelHttpPath=, CamelHttpQuery=entry=2, CamelHttpUri=/api/xa, CamelHttpUrl=http://localhost:8080/api/xa, CamelServletContextPath=/xa, entry=2, Host=localhost:8080, JMSCorrelationID=null, JMSCorrelationIDAsBytes=null, JMSDeliveryMode=2, JMSDestination=ActiveMQQueue[DEV.QUEUE.1], JMSExpiration=0, JMSMessageID=ID:306fdf1c-5585-11e9-b65d-186590d94cf7, JMSPriority=4, JMSRedelivered=true, JMSReplyTo=null, JMSTimestamp=1554236614315, JMSType=null, JMSXDeliveryCount=4, JMSXGroupID=null, JMSXUserID=null, User-Agent=curl/7.54.0}, BodyType:String, Body:Reply XA transaction: 2 2019-04-02 22:23:38.595 INFO 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-12 >>> (transactedTargetUnstableWay) ref:toDbMessageProcessor --> jpa://com.redhat.fuse.quickstarts.DbMessage?flushOnSend=true&usePersist=true <<< Pattern:InOnly, BodyType:com.redhat.fuse.quickstarts.DbMessage, Body:Reply XA transaction: 2 2019-04-02 22:23:38.595 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:38.595 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.registerSynchronization - Class: class org.hibernate.resource.transaction.backend.jta.internal.synchronization.RegisteredSynchronization HashCode: 1842285163 toString: org.hibernate.resource.transaction.backend.jta.internal.synchronization.RegisteredSynchronization@6dcf0a6b 2019-04-02 22:23:38.595 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:38.595 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:38.595 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE Hibernate: insert into message (message_text) values (?) 2019-04-02 22:23:38.595 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:38.735 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.registerSynchronization - Class: class org.apache.commons.dbcp2.managed.TransactionContext$1 HashCode: 1237142601 toString: org.apache.commons.dbcp2.managed.TransactionContext$1@49bd4c49 2019-04-02 22:23:38.735 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.enlistResource ( com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ea9ec74 ) 2019-04-02 22:23:38.735 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:38.736 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : StateManager::StateManager( 1, 0 ) 2019-04-02 22:23:38.736 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : AbstractRecord::AbstractRecord (0:ffffc0a8000e:f11d:5ca3c4ab:23, 1) 2019-04-02 22:23:38.736 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : XAResourceRecord.XAResourceRecord ( < formatId=131077, gtrid_length=29, bqual_length=36, tx_uid=0:ffffc0a8000e:f11d:5ca3c4ab:1f, node_name=1, branch_uid=0:ffffc0a8000e:f11d:5ca3c4ab:22, subordinatenodename=null, eis_name=0 >, com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ea9ec74 ), record id=0:ffffc0a8000e:f11d:5ca3c4ab:23 2019-04-02 22:23:39.019 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : RecordList::insert(RecordList: empty) : appending /StateManager/AbstractRecord/XAResourceRecord for 0:ffffc0a8000e:f11d:5ca3c4ab:23 2019-04-02 22:23:39.019 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:39.020 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:39.309 WARN 29568 --- [er[DEV.QUEUE.1]] o.h.engine.jdbc.spi.SqlExceptionHelper : SQL Error: 1062, SQLState: 23000 2019-04-02 22:23:39.309 ERROR 29568 --- [er[DEV.QUEUE.1]] o.h.engine.jdbc.spi.SqlExceptionHelper : Duplicate entry 'Reply XA transaction: 2' for key 'PRIMARY' 2019-04-02 22:23:39.309 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:39.309 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:39.309 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:39.310 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : BaseTransaction.setRollbackOnly 2019-04-02 22:23:39.310 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.setRollbackOnly 2019-04-02 22:23:39.310 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::preventCommit( BasicAction: 0:ffffc0a8000e:f11d:5ca3c4ab:1f status: ActionStatus.RUNNING) 2019-04-02 22:23:39.310 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_MARKED_ROLLBACK 2019-04-02 22:23:39.310 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : BaseTransaction.setRollbackOnly 2019-04-02 22:23:39.310 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.setRollbackOnly 2019-04-02 22:23:39.310 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::preventCommit( BasicAction: 0:ffffc0a8000e:f11d:5ca3c4ab:1f status: ActionStatus.ABORT_ONLY) 2019-04-02 22:23:39.310 INFO 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-12 >>> (transactedTargetUnstableWay) jpa://com.redhat.fuse.quickstarts.DbMessage?flushOnSend=true&usePersist=true --> OnException[PersistenceException] <<< Pattern:InOnly, BodyType:com.redhat.fuse.quickstarts.DbMessage, Body:Reply XA transaction: 2 2019-04-02 22:23:39.311 INFO 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-12 >>> OnException[PersistenceException] --> mock://xaTransactionErr <<< Pattern:InOnly, BodyType:com.redhat.fuse.quickstarts.DbMessage, Body:Reply XA transaction: 2 2019-04-02 22:23:39.311 INFO 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-12 >>> mock://xaTransactionErr --> rollback <<< Pattern:InOnly, BodyType:com.redhat.fuse.quickstarts.DbMessage, Body:Reply XA transaction: 2 2019-04-02 22:23:39.312 WARN 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.DefaultErrorHandler : Rollback (MessageId: ID-vkasala-OSX-1554236593617-0-13 on ExchangeId: ID-vkasala-OSX-1554236593617-0-12) due: org.hibernate.exception.ConstraintViolationException: could not execute statement Message History --------------------------------------------------------------------------------------------------------------------------------------- RouteId ProcessorId Processor Elapsed (ms) [transactedTargetUn] [transactedTargetUn] [jms://queue:DEV.QUEUE.1?transacted=true ] [ 718] [transactedTargetUn] [transacted1 ] [transacted ] [ 0] [transactedTargetUn] [log2 ] [log ] [ 0] [transactedTargetUn] [process1 ] [ref:toDbMessageProcessor ] [ 0] [transactedTargetUn] [to4 ] [jpa:com.redhat.fuse.quickstarts.DbMessage?flushOnSend=true&usePersist=true ] [ 0] [transactedTargetUn] [to2 ] [mock:xaTransactionErr ] [ 1] [transactedTargetUn] [rollback1 ] [rollback ] [ 0] 2019-04-02 22:23:39.312 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_MARKED_ROLLBACK 2019-04-02 22:23:39.312 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_MARKED_ROLLBACK 2019-04-02 22:23:39.312 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : BaseTransaction.rollback 2019-04-02 22:23:39.312 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.rollbackAndDisassociate 2019-04-02 22:23:39.312 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::Abort() for action-id 0:ffffc0a8000e:f11d:5ca3c4ab:1f 2019-04-02 22:23:39.312 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::doAbort (XAResourceRecord < resource:com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ea9ec74, txid:< formatId=131077, gtrid_length=29, bqual_length=36, tx_uid=0:ffffc0a8000e:f11d:5ca3c4ab:1f, node_name=1, branch_uid=0:ffffc0a8000e:f11d:5ca3c4ab:22, subordinatenodename=null, eis_name=0 >, heuristic: TwoPhaseOutcome.FINISH_OK com.arjuna.ats.internal.jta.resources.arjunacore.XAResourceRecord@20d66ae8 >) 2019-04-02 22:23:39.313 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : XAResourceRecord.topLevelAbort for XAResourceRecord < resource:com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ea9ec74, txid:< formatId=131077, gtrid_length=29, bqual_length=36, tx_uid=0:ffffc0a8000e:f11d:5ca3c4ab:1f, node_name=1, branch_uid=0:ffffc0a8000e:f11d:5ca3c4ab:22, subordinatenodename=null, eis_name=0 >, heuristic: TwoPhaseOutcome.FINISH_OK com.arjuna.ats.internal.jta.resources.arjunacore.XAResourceRecord@20d66ae8 >, record id=0:ffffc0a8000e:f11d:5ca3c4ab:23 2019-04-02 22:23:39.881 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::doAbort() result for action-id (0:ffffc0a8000e:f11d:5ca3c4ab:1f) on record id: (0:ffffc0a8000e:f11d:5ca3c4ab:23) is (TwoPhaseOutcome.FINISH_OK) node id: (1) 2019-04-02 22:23:39.882 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : SynchronizationImple.afterCompletion - Class: class org.apache.commons.dbcp2.managed.TransactionContext$1 HashCode: 1237142601 toString: org.apache.commons.dbcp2.managed.TransactionContext$1@49bd4c49 2019-04-02 22:23:39.882 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : SynchronizationImple.afterCompletion - Class: class org.hibernate.resource.transaction.backend.jta.internal.synchronization.RegisteredSynchronization HashCode: 1842285163 toString: org.hibernate.resource.transaction.backend.jta.internal.synchronization.RegisteredSynchronization@6dcf0a6b 2019-04-02 22:23:39.882 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::removeChildThread () action 0:ffffc0a8000e:f11d:5ca3c4ab:1f removing 1 2019-04-02 22:23:39.882 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::removeChildThread () action 0:ffffc0a8000e:f11d:5ca3c4ab:1f removing 1 result = true 2019-04-02 22:23:39.882 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : TransactionReaper::remove ( BasicAction: 0:ffffc0a8000e:f11d:5ca3c4ab:1f status: ActionStatus.ABORTED ) 2019-04-02 22:23:39.882 WARN 29568 --- [er[DEV.QUEUE.1]] o.a.c.s.spi.TransactionErrorHandler : Transaction rollback (0x7851c831) redelivered(true) for (MessageId: ID:306fdf1c-5585-11e9-b65d-186590d94cf7 on ExchangeId: ID-vkasala-OSX-1554236593617-0-12) due exchange was marked for rollbackOnly 2019-04-02 22:23:39.883 WARN 29568 --- [er[DEV.QUEUE.1]] o.a.c.c.jms.EndpointMessageListener : Execution of JMS message listener failed. Caused by: [org.apache.camel.RuntimeCamelException - org.apache.camel.RollbackExchangeException: Intended rollback. Exchange[ID-vkasala-OSX-1554236593617-0-12]] 2019-04-02 22:23:39.900 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@148f85d9 2019-04-02 22:23:39.911 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : BaseTransaction.begin 2019-04-02 22:23:39.911 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : StateManager::StateManager( 2, 0 ) 2019-04-02 22:23:39.911 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::BasicAction() 2019-04-02 22:23:39.911 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::Begin() for action-id 0:ffffc0a8000e:f11d:5ca3c4ab:25 2019-04-02 22:23:39.911 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::actionInitialise() for action-id 0:ffffc0a8000e:f11d:5ca3c4ab:25 2019-04-02 22:23:39.911 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : ActionHierarchy::ActionHierarchy(1) 2019-04-02 22:23:39.911 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : ActionHierarchy::add(0:ffffc0a8000e:f11d:5ca3c4ab:25, 1) 2019-04-02 22:23:39.911 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::addChildThread () action 0:ffffc0a8000e:f11d:5ca3c4ab:25 adding Thread[Camel (SpringBootCamelXa) thread #1 - JmsConsumer[DEV.QUEUE.1],5,com.redhat.fuse.quickstarts.Application] 2019-04-02 22:23:39.911 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::addChildThread () action 0:ffffc0a8000e:f11d:5ca3c4ab:25 adding Thread[Camel (SpringBootCamelXa) thread #1 - JmsConsumer[DEV.QUEUE.1],5,com.redhat.fuse.quickstarts.Application] result = true 2019-04-02 22:23:39.912 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : TransactionReaper::insert ( BasicAction: 0:ffffc0a8000e:f11d:5ca3c4ab:25 status: ActionStatus.RUNNING, 60 ) 2019-04-02 22:23:39.912 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : ReaperElement::ReaperElement ( BasicAction: 0:ffffc0a8000e:f11d:5ca3c4ab:25 status: ActionStatus.RUNNING, 60 ) 2019-04-02 22:23:39.912 INFO 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-14 >>> (transactedTargetUnstableWay) from(jms://queue:DEV.QUEUE.1?transacted=true) --> transacted <<< Pattern:InOnly, Headers:{Accept=*/*, breadcrumbId=ID-vkasala-OSX-1554236593617-0-3, CamelHttpCharacterEncoding=UTF-8, CamelHttpMethod=POST, CamelHttpPath=, CamelHttpQuery=entry=2, CamelHttpUri=/api/xa, CamelHttpUrl=http://localhost:8080/api/xa, CamelServletContextPath=/xa, entry=2, Host=localhost:8080, JMSCorrelationID=null, JMSCorrelationIDAsBytes=null, JMSDeliveryMode=2, JMSDestination=ActiveMQQueue[DEV.QUEUE.1], JMSExpiration=0, JMSMessageID=ID:306fdf1c-5585-11e9-b65d-186590d94cf7, JMSPriority=4, JMSRedelivered=true, JMSReplyTo=null, JMSTimestamp=1554236614315, JMSType=null, JMSXDeliveryCount=5, JMSXGroupID=null, JMSXUserID=null, User-Agent=curl/7.54.0}, BodyType:String, Body:Reply XA transaction: 2 2019-04-02 22:23:39.949 INFO 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-14 >>> (transactedTargetUnstableWay) transacted --> log[Processing {message} = ${body}] <<< Pattern:InOnly, Headers:{Accept=*/*, breadcrumbId=ID-vkasala-OSX-1554236593617-0-3, CamelHttpCharacterEncoding=UTF-8, CamelHttpMethod=POST, CamelHttpPath=, CamelHttpQuery=entry=2, CamelHttpUri=/api/xa, CamelHttpUrl=http://localhost:8080/api/xa, CamelServletContextPath=/xa, entry=2, Host=localhost:8080, JMSCorrelationID=null, JMSCorrelationIDAsBytes=null, JMSDeliveryMode=2, JMSDestination=ActiveMQQueue[DEV.QUEUE.1], JMSExpiration=0, JMSMessageID=ID:306fdf1c-5585-11e9-b65d-186590d94cf7, JMSPriority=4, JMSRedelivered=true, JMSReplyTo=null, JMSTimestamp=1554236614315, JMSType=null, JMSXDeliveryCount=5, JMSXGroupID=null, JMSXUserID=null, User-Agent=curl/7.54.0}, BodyType:String, Body:Reply XA transaction: 2 2019-04-02 22:23:39.949 INFO 29568 --- [er[DEV.QUEUE.1]] transactedTargetUnstableWay : Processing {message} = Reply XA transaction: 2 2019-04-02 22:23:39.949 INFO 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-14 >>> (transactedTargetUnstableWay) log[Processing {message} = ${body}] --> ref:toDbMessageProcessor <<< Pattern:InOnly, Headers:{Accept=*/*, breadcrumbId=ID-vkasala-OSX-1554236593617-0-3, CamelHttpCharacterEncoding=UTF-8, CamelHttpMethod=POST, CamelHttpPath=, CamelHttpQuery=entry=2, CamelHttpUri=/api/xa, CamelHttpUrl=http://localhost:8080/api/xa, CamelServletContextPath=/xa, entry=2, Host=localhost:8080, JMSCorrelationID=null, JMSCorrelationIDAsBytes=null, JMSDeliveryMode=2, JMSDestination=ActiveMQQueue[DEV.QUEUE.1], JMSExpiration=0, JMSMessageID=ID:306fdf1c-5585-11e9-b65d-186590d94cf7, JMSPriority=4, JMSRedelivered=true, JMSReplyTo=null, JMSTimestamp=1554236614315, JMSType=null, JMSXDeliveryCount=5, JMSXGroupID=null, JMSXUserID=null, User-Agent=curl/7.54.0}, BodyType:String, Body:Reply XA transaction: 2 2019-04-02 22:23:39.950 INFO 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-14 >>> (transactedTargetUnstableWay) ref:toDbMessageProcessor --> jpa://com.redhat.fuse.quickstarts.DbMessage?flushOnSend=true&usePersist=true <<< Pattern:InOnly, BodyType:com.redhat.fuse.quickstarts.DbMessage, Body:Reply XA transaction: 2 2019-04-02 22:23:39.950 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:39.950 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.registerSynchronization - Class: class org.hibernate.resource.transaction.backend.jta.internal.synchronization.RegisteredSynchronization HashCode: 1959474983 toString: org.hibernate.resource.transaction.backend.jta.internal.synchronization.RegisteredSynchronization@74cb3727 2019-04-02 22:23:39.950 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:39.950 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:39.950 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE Hibernate: insert into message (message_text) values (?) 2019-04-02 22:23:39.950 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:40.122 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.registerSynchronization - Class: class org.apache.commons.dbcp2.managed.TransactionContext$1 HashCode: 423017272 toString: org.apache.commons.dbcp2.managed.TransactionContext$1@1936bb38 2019-04-02 22:23:40.122 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.enlistResource ( com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ea9ec74 ) 2019-04-02 22:23:40.122 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:40.122 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : StateManager::StateManager( 1, 0 ) 2019-04-02 22:23:40.122 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : AbstractRecord::AbstractRecord (0:ffffc0a8000e:f11d:5ca3c4ab:29, 1) 2019-04-02 22:23:40.123 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : XAResourceRecord.XAResourceRecord ( < formatId=131077, gtrid_length=29, bqual_length=36, tx_uid=0:ffffc0a8000e:f11d:5ca3c4ab:25, node_name=1, branch_uid=0:ffffc0a8000e:f11d:5ca3c4ab:28, subordinatenodename=null, eis_name=0 >, com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ea9ec74 ), record id=0:ffffc0a8000e:f11d:5ca3c4ab:29 2019-04-02 22:23:40.411 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : RecordList::insert(RecordList: empty) : appending /StateManager/AbstractRecord/XAResourceRecord for 0:ffffc0a8000e:f11d:5ca3c4ab:29 2019-04-02 22:23:40.412 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:40.412 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:40.697 WARN 29568 --- [er[DEV.QUEUE.1]] o.h.engine.jdbc.spi.SqlExceptionHelper : SQL Error: 1062, SQLState: 23000 2019-04-02 22:23:40.698 ERROR 29568 --- [er[DEV.QUEUE.1]] o.h.engine.jdbc.spi.SqlExceptionHelper : Duplicate entry 'Reply XA transaction: 2' for key 'PRIMARY' 2019-04-02 22:23:40.698 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:40.698 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:40.698 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:40.698 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : BaseTransaction.setRollbackOnly 2019-04-02 22:23:40.698 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.setRollbackOnly 2019-04-02 22:23:40.698 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::preventCommit( BasicAction: 0:ffffc0a8000e:f11d:5ca3c4ab:25 status: ActionStatus.RUNNING) 2019-04-02 22:23:40.699 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_MARKED_ROLLBACK 2019-04-02 22:23:40.699 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : BaseTransaction.setRollbackOnly 2019-04-02 22:23:40.699 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.setRollbackOnly 2019-04-02 22:23:40.699 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::preventCommit( BasicAction: 0:ffffc0a8000e:f11d:5ca3c4ab:25 status: ActionStatus.ABORT_ONLY) 2019-04-02 22:23:40.699 INFO 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-14 >>> (transactedTargetUnstableWay) jpa://com.redhat.fuse.quickstarts.DbMessage?flushOnSend=true&usePersist=true --> OnException[PersistenceException] <<< Pattern:InOnly, BodyType:com.redhat.fuse.quickstarts.DbMessage, Body:Reply XA transaction: 2 2019-04-02 22:23:40.699 INFO 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-14 >>> OnException[PersistenceException] --> mock://xaTransactionErr <<< Pattern:InOnly, BodyType:com.redhat.fuse.quickstarts.DbMessage, Body:Reply XA transaction: 2 2019-04-02 22:23:40.700 INFO 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-14 >>> mock://xaTransactionErr --> rollback <<< Pattern:InOnly, BodyType:com.redhat.fuse.quickstarts.DbMessage, Body:Reply XA transaction: 2 2019-04-02 22:23:40.701 WARN 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.DefaultErrorHandler : Rollback (MessageId: ID-vkasala-OSX-1554236593617-0-15 on ExchangeId: ID-vkasala-OSX-1554236593617-0-14) due: org.hibernate.exception.ConstraintViolationException: could not execute statement Message History --------------------------------------------------------------------------------------------------------------------------------------- RouteId ProcessorId Processor Elapsed (ms) [transactedTargetUn] [transactedTargetUn] [jms://queue:DEV.QUEUE.1?transacted=true ] [ 789] [transactedTargetUn] [transacted1 ] [transacted ] [ 0] [transactedTargetUn] [log2 ] [log ] [ 0] [transactedTargetUn] [process1 ] [ref:toDbMessageProcessor ] [ 0] [transactedTargetUn] [to4 ] [jpa:com.redhat.fuse.quickstarts.DbMessage?flushOnSend=true&usePersist=true ] [ 0] [transactedTargetUn] [to2 ] [mock:xaTransactionErr ] [ 0] [transactedTargetUn] [rollback1 ] [rollback ] [ 1] 2019-04-02 22:23:40.701 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_MARKED_ROLLBACK 2019-04-02 22:23:40.701 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_MARKED_ROLLBACK 2019-04-02 22:23:40.701 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : BaseTransaction.rollback 2019-04-02 22:23:40.701 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.rollbackAndDisassociate 2019-04-02 22:23:40.701 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::Abort() for action-id 0:ffffc0a8000e:f11d:5ca3c4ab:25 2019-04-02 22:23:40.701 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::doAbort (XAResourceRecord < resource:com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ea9ec74, txid:< formatId=131077, gtrid_length=29, bqual_length=36, tx_uid=0:ffffc0a8000e:f11d:5ca3c4ab:25, node_name=1, branch_uid=0:ffffc0a8000e:f11d:5ca3c4ab:28, subordinatenodename=null, eis_name=0 >, heuristic: TwoPhaseOutcome.FINISH_OK com.arjuna.ats.internal.jta.resources.arjunacore.XAResourceRecord@659740d8 >) 2019-04-02 22:23:40.701 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : XAResourceRecord.topLevelAbort for XAResourceRecord < resource:com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ea9ec74, txid:< formatId=131077, gtrid_length=29, bqual_length=36, tx_uid=0:ffffc0a8000e:f11d:5ca3c4ab:25, node_name=1, branch_uid=0:ffffc0a8000e:f11d:5ca3c4ab:28, subordinatenodename=null, eis_name=0 >, heuristic: TwoPhaseOutcome.FINISH_OK com.arjuna.ats.internal.jta.resources.arjunacore.XAResourceRecord@659740d8 >, record id=0:ffffc0a8000e:f11d:5ca3c4ab:29 2019-04-02 22:23:41.269 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::doAbort() result for action-id (0:ffffc0a8000e:f11d:5ca3c4ab:25) on record id: (0:ffffc0a8000e:f11d:5ca3c4ab:29) is (TwoPhaseOutcome.FINISH_OK) node id: (1) 2019-04-02 22:23:41.269 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : SynchronizationImple.afterCompletion - Class: class org.apache.commons.dbcp2.managed.TransactionContext$1 HashCode: 423017272 toString: org.apache.commons.dbcp2.managed.TransactionContext$1@1936bb38 2019-04-02 22:23:41.269 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : SynchronizationImple.afterCompletion - Class: class org.hibernate.resource.transaction.backend.jta.internal.synchronization.RegisteredSynchronization HashCode: 1959474983 toString: org.hibernate.resource.transaction.backend.jta.internal.synchronization.RegisteredSynchronization@74cb3727 2019-04-02 22:23:41.270 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::removeChildThread () action 0:ffffc0a8000e:f11d:5ca3c4ab:25 removing 1 2019-04-02 22:23:41.270 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::removeChildThread () action 0:ffffc0a8000e:f11d:5ca3c4ab:25 removing 1 result = true 2019-04-02 22:23:41.270 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : TransactionReaper::remove ( BasicAction: 0:ffffc0a8000e:f11d:5ca3c4ab:25 status: ActionStatus.ABORTED ) 2019-04-02 22:23:41.270 WARN 29568 --- [er[DEV.QUEUE.1]] o.a.c.s.spi.TransactionErrorHandler : Transaction rollback (0x7851c831) redelivered(true) for (MessageId: ID:306fdf1c-5585-11e9-b65d-186590d94cf7 on ExchangeId: ID-vkasala-OSX-1554236593617-0-14) due exchange was marked for rollbackOnly 2019-04-02 22:23:41.270 WARN 29568 --- [er[DEV.QUEUE.1]] o.a.c.c.jms.EndpointMessageListener : Execution of JMS message listener failed. Caused by: [org.apache.camel.RuntimeCamelException - org.apache.camel.RollbackExchangeException: Intended rollback. Exchange[ID-vkasala-OSX-1554236593617-0-14]] 2019-04-02 22:23:41.287 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@3712ae45 2019-04-02 22:23:41.297 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : BaseTransaction.begin 2019-04-02 22:23:41.297 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : StateManager::StateManager( 2, 0 ) 2019-04-02 22:23:41.297 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::BasicAction() 2019-04-02 22:23:41.297 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::Begin() for action-id 0:ffffc0a8000e:f11d:5ca3c4ab:2b 2019-04-02 22:23:41.297 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::actionInitialise() for action-id 0:ffffc0a8000e:f11d:5ca3c4ab:2b 2019-04-02 22:23:41.297 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : ActionHierarchy::ActionHierarchy(1) 2019-04-02 22:23:41.297 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : ActionHierarchy::add(0:ffffc0a8000e:f11d:5ca3c4ab:2b, 1) 2019-04-02 22:23:41.298 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::addChildThread () action 0:ffffc0a8000e:f11d:5ca3c4ab:2b adding Thread[Camel (SpringBootCamelXa) thread #1 - JmsConsumer[DEV.QUEUE.1],5,com.redhat.fuse.quickstarts.Application] 2019-04-02 22:23:41.298 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::addChildThread () action 0:ffffc0a8000e:f11d:5ca3c4ab:2b adding Thread[Camel (SpringBootCamelXa) thread #1 - JmsConsumer[DEV.QUEUE.1],5,com.redhat.fuse.quickstarts.Application] result = true 2019-04-02 22:23:41.298 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : TransactionReaper::insert ( BasicAction: 0:ffffc0a8000e:f11d:5ca3c4ab:2b status: ActionStatus.RUNNING, 60 ) 2019-04-02 22:23:41.298 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : ReaperElement::ReaperElement ( BasicAction: 0:ffffc0a8000e:f11d:5ca3c4ab:2b status: ActionStatus.RUNNING, 60 ) 2019-04-02 22:23:41.298 INFO 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-16 >>> (transactedTargetUnstableWay) from(jms://queue:DEV.QUEUE.1?transacted=true) --> transacted <<< Pattern:InOnly, Headers:{Accept=*/*, breadcrumbId=ID-vkasala-OSX-1554236593617-0-3, CamelHttpCharacterEncoding=UTF-8, CamelHttpMethod=POST, CamelHttpPath=, CamelHttpQuery=entry=2, CamelHttpUri=/api/xa, CamelHttpUrl=http://localhost:8080/api/xa, CamelServletContextPath=/xa, entry=2, Host=localhost:8080, JMSCorrelationID=null, JMSCorrelationIDAsBytes=null, JMSDeliveryMode=2, JMSDestination=ActiveMQQueue[DEV.QUEUE.1], JMSExpiration=0, JMSMessageID=ID:306fdf1c-5585-11e9-b65d-186590d94cf7, JMSPriority=4, JMSRedelivered=true, JMSReplyTo=null, JMSTimestamp=1554236614315, JMSType=null, JMSXDeliveryCount=6, JMSXGroupID=null, JMSXUserID=null, User-Agent=curl/7.54.0}, BodyType:String, Body:Reply XA transaction: 2 2019-04-02 22:23:41.324 INFO 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-16 >>> (transactedTargetUnstableWay) transacted --> log[Processing {message} = ${body}] <<< Pattern:InOnly, Headers:{Accept=*/*, breadcrumbId=ID-vkasala-OSX-1554236593617-0-3, CamelHttpCharacterEncoding=UTF-8, CamelHttpMethod=POST, CamelHttpPath=, CamelHttpQuery=entry=2, CamelHttpUri=/api/xa, CamelHttpUrl=http://localhost:8080/api/xa, CamelServletContextPath=/xa, entry=2, Host=localhost:8080, JMSCorrelationID=null, JMSCorrelationIDAsBytes=null, JMSDeliveryMode=2, JMSDestination=ActiveMQQueue[DEV.QUEUE.1], JMSExpiration=0, JMSMessageID=ID:306fdf1c-5585-11e9-b65d-186590d94cf7, JMSPriority=4, JMSRedelivered=true, JMSReplyTo=null, JMSTimestamp=1554236614315, JMSType=null, JMSXDeliveryCount=6, JMSXGroupID=null, JMSXUserID=null, User-Agent=curl/7.54.0}, BodyType:String, Body:Reply XA transaction: 2 2019-04-02 22:23:41.324 INFO 29568 --- [er[DEV.QUEUE.1]] transactedTargetUnstableWay : Processing {message} = Reply XA transaction: 2 2019-04-02 22:23:41.324 INFO 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-16 >>> (transactedTargetUnstableWay) log[Processing {message} = ${body}] --> ref:toDbMessageProcessor <<< Pattern:InOnly, Headers:{Accept=*/*, breadcrumbId=ID-vkasala-OSX-1554236593617-0-3, CamelHttpCharacterEncoding=UTF-8, CamelHttpMethod=POST, CamelHttpPath=, CamelHttpQuery=entry=2, CamelHttpUri=/api/xa, CamelHttpUrl=http://localhost:8080/api/xa, CamelServletContextPath=/xa, entry=2, Host=localhost:8080, JMSCorrelationID=null, JMSCorrelationIDAsBytes=null, JMSDeliveryMode=2, JMSDestination=ActiveMQQueue[DEV.QUEUE.1], JMSExpiration=0, JMSMessageID=ID:306fdf1c-5585-11e9-b65d-186590d94cf7, JMSPriority=4, JMSRedelivered=true, JMSReplyTo=null, JMSTimestamp=1554236614315, JMSType=null, JMSXDeliveryCount=6, JMSXGroupID=null, JMSXUserID=null, User-Agent=curl/7.54.0}, BodyType:String, Body:Reply XA transaction: 2 2019-04-02 22:23:41.324 INFO 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-16 >>> (transactedTargetUnstableWay) ref:toDbMessageProcessor --> jpa://com.redhat.fuse.quickstarts.DbMessage?flushOnSend=true&usePersist=true <<< Pattern:InOnly, BodyType:com.redhat.fuse.quickstarts.DbMessage, Body:Reply XA transaction: 2 2019-04-02 22:23:41.325 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:41.325 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.registerSynchronization - Class: class org.hibernate.resource.transaction.backend.jta.internal.synchronization.RegisteredSynchronization HashCode: 922466635 toString: org.hibernate.resource.transaction.backend.jta.internal.synchronization.RegisteredSynchronization@36fbb94b 2019-04-02 22:23:41.325 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:41.325 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:41.325 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE Hibernate: insert into message (message_text) values (?) 2019-04-02 22:23:41.325 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:41.467 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.registerSynchronization - Class: class org.apache.commons.dbcp2.managed.TransactionContext$1 HashCode: 431489191 toString: org.apache.commons.dbcp2.managed.TransactionContext$1@19b800a7 2019-04-02 22:23:41.467 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.enlistResource ( com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ea9ec74 ) 2019-04-02 22:23:41.467 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:41.467 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : StateManager::StateManager( 1, 0 ) 2019-04-02 22:23:41.467 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : AbstractRecord::AbstractRecord (0:ffffc0a8000e:f11d:5ca3c4ab:2f, 1) 2019-04-02 22:23:41.467 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : XAResourceRecord.XAResourceRecord ( < formatId=131077, gtrid_length=29, bqual_length=36, tx_uid=0:ffffc0a8000e:f11d:5ca3c4ab:2b, node_name=1, branch_uid=0:ffffc0a8000e:f11d:5ca3c4ab:2e, subordinatenodename=null, eis_name=0 >, com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ea9ec74 ), record id=0:ffffc0a8000e:f11d:5ca3c4ab:2f 2019-04-02 22:23:41.752 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : RecordList::insert(RecordList: empty) : appending /StateManager/AbstractRecord/XAResourceRecord for 0:ffffc0a8000e:f11d:5ca3c4ab:2f 2019-04-02 22:23:41.752 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:41.752 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:42.042 WARN 29568 --- [er[DEV.QUEUE.1]] o.h.engine.jdbc.spi.SqlExceptionHelper : SQL Error: 1062, SQLState: 23000 2019-04-02 22:23:42.043 ERROR 29568 --- [er[DEV.QUEUE.1]] o.h.engine.jdbc.spi.SqlExceptionHelper : Duplicate entry 'Reply XA transaction: 2' for key 'PRIMARY' 2019-04-02 22:23:42.043 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:42.043 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:42.043 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:42.043 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : BaseTransaction.setRollbackOnly 2019-04-02 22:23:42.043 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.setRollbackOnly 2019-04-02 22:23:42.043 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::preventCommit( BasicAction: 0:ffffc0a8000e:f11d:5ca3c4ab:2b status: ActionStatus.RUNNING) 2019-04-02 22:23:42.043 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_MARKED_ROLLBACK 2019-04-02 22:23:42.043 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : BaseTransaction.setRollbackOnly 2019-04-02 22:23:42.043 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.setRollbackOnly 2019-04-02 22:23:42.043 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::preventCommit( BasicAction: 0:ffffc0a8000e:f11d:5ca3c4ab:2b status: ActionStatus.ABORT_ONLY) 2019-04-02 22:23:42.044 INFO 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-16 >>> (transactedTargetUnstableWay) jpa://com.redhat.fuse.quickstarts.DbMessage?flushOnSend=true&usePersist=true --> OnException[PersistenceException] <<< Pattern:InOnly, BodyType:com.redhat.fuse.quickstarts.DbMessage, Body:Reply XA transaction: 2 2019-04-02 22:23:42.044 INFO 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-16 >>> OnException[PersistenceException] --> mock://xaTransactionErr <<< Pattern:InOnly, BodyType:com.redhat.fuse.quickstarts.DbMessage, Body:Reply XA transaction: 2 2019-04-02 22:23:42.044 INFO 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-16 >>> mock://xaTransactionErr --> rollback <<< Pattern:InOnly, BodyType:com.redhat.fuse.quickstarts.DbMessage, Body:Reply XA transaction: 2 2019-04-02 22:23:42.045 WARN 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.DefaultErrorHandler : Rollback (MessageId: ID-vkasala-OSX-1554236593617-0-17 on ExchangeId: ID-vkasala-OSX-1554236593617-0-16) due: org.hibernate.exception.ConstraintViolationException: could not execute statement Message History --------------------------------------------------------------------------------------------------------------------------------------- RouteId ProcessorId Processor Elapsed (ms) [transactedTargetUn] [transactedTargetUn] [jms://queue:DEV.QUEUE.1?transacted=true ] [ 748] [transactedTargetUn] [transacted1 ] [transacted ] [ 0] [transactedTargetUn] [log2 ] [log ] [ 0] [transactedTargetUn] [process1 ] [ref:toDbMessageProcessor ] [ 0] [transactedTargetUn] [to4 ] [jpa:com.redhat.fuse.quickstarts.DbMessage?flushOnSend=true&usePersist=true ] [ 0] [transactedTargetUn] [to2 ] [mock:xaTransactionErr ] [ 0] [transactedTargetUn] [rollback1 ] [rollback ] [ 0] 2019-04-02 22:23:42.046 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_MARKED_ROLLBACK 2019-04-02 22:23:42.046 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_MARKED_ROLLBACK 2019-04-02 22:23:42.046 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : BaseTransaction.rollback 2019-04-02 22:23:42.046 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.rollbackAndDisassociate 2019-04-02 22:23:42.046 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::Abort() for action-id 0:ffffc0a8000e:f11d:5ca3c4ab:2b 2019-04-02 22:23:42.046 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::doAbort (XAResourceRecord < resource:com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ea9ec74, txid:< formatId=131077, gtrid_length=29, bqual_length=36, tx_uid=0:ffffc0a8000e:f11d:5ca3c4ab:2b, node_name=1, branch_uid=0:ffffc0a8000e:f11d:5ca3c4ab:2e, subordinatenodename=null, eis_name=0 >, heuristic: TwoPhaseOutcome.FINISH_OK com.arjuna.ats.internal.jta.resources.arjunacore.XAResourceRecord@fd5bfce >) 2019-04-02 22:23:42.046 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : XAResourceRecord.topLevelAbort for XAResourceRecord < resource:com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ea9ec74, txid:< formatId=131077, gtrid_length=29, bqual_length=36, tx_uid=0:ffffc0a8000e:f11d:5ca3c4ab:2b, node_name=1, branch_uid=0:ffffc0a8000e:f11d:5ca3c4ab:2e, subordinatenodename=null, eis_name=0 >, heuristic: TwoPhaseOutcome.FINISH_OK com.arjuna.ats.internal.jta.resources.arjunacore.XAResourceRecord@fd5bfce >, record id=0:ffffc0a8000e:f11d:5ca3c4ab:2f 2019-04-02 22:23:42.618 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::doAbort() result for action-id (0:ffffc0a8000e:f11d:5ca3c4ab:2b) on record id: (0:ffffc0a8000e:f11d:5ca3c4ab:2f) is (TwoPhaseOutcome.FINISH_OK) node id: (1) 2019-04-02 22:23:42.618 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : SynchronizationImple.afterCompletion - Class: class org.apache.commons.dbcp2.managed.TransactionContext$1 HashCode: 431489191 toString: org.apache.commons.dbcp2.managed.TransactionContext$1@19b800a7 2019-04-02 22:23:42.618 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : SynchronizationImple.afterCompletion - Class: class org.hibernate.resource.transaction.backend.jta.internal.synchronization.RegisteredSynchronization HashCode: 922466635 toString: org.hibernate.resource.transaction.backend.jta.internal.synchronization.RegisteredSynchronization@36fbb94b 2019-04-02 22:23:42.619 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::removeChildThread () action 0:ffffc0a8000e:f11d:5ca3c4ab:2b removing 1 2019-04-02 22:23:42.619 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::removeChildThread () action 0:ffffc0a8000e:f11d:5ca3c4ab:2b removing 1 result = true 2019-04-02 22:23:42.619 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : TransactionReaper::remove ( BasicAction: 0:ffffc0a8000e:f11d:5ca3c4ab:2b status: ActionStatus.ABORTED ) 2019-04-02 22:23:42.619 WARN 29568 --- [er[DEV.QUEUE.1]] o.a.c.s.spi.TransactionErrorHandler : Transaction rollback (0x7851c831) redelivered(true) for (MessageId: ID:306fdf1c-5585-11e9-b65d-186590d94cf7 on ExchangeId: ID-vkasala-OSX-1554236593617-0-16) due exchange was marked for rollbackOnly 2019-04-02 22:23:42.619 WARN 29568 --- [er[DEV.QUEUE.1]] o.a.c.c.jms.EndpointMessageListener : Execution of JMS message listener failed. Caused by: [org.apache.camel.RuntimeCamelException - org.apache.camel.RollbackExchangeException: Intended rollback. Exchange[ID-vkasala-OSX-1554236593617-0-16]] 2019-04-02 22:23:42.636 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@33d51a68 2019-04-02 22:23:42.646 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : BaseTransaction.begin 2019-04-02 22:23:42.646 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : StateManager::StateManager( 2, 0 ) 2019-04-02 22:23:42.646 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::BasicAction() 2019-04-02 22:23:42.646 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::Begin() for action-id 0:ffffc0a8000e:f11d:5ca3c4ab:31 2019-04-02 22:23:42.646 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::actionInitialise() for action-id 0:ffffc0a8000e:f11d:5ca3c4ab:31 2019-04-02 22:23:42.646 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : ActionHierarchy::ActionHierarchy(1) 2019-04-02 22:23:42.646 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : ActionHierarchy::add(0:ffffc0a8000e:f11d:5ca3c4ab:31, 1) 2019-04-02 22:23:42.646 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::addChildThread () action 0:ffffc0a8000e:f11d:5ca3c4ab:31 adding Thread[Camel (SpringBootCamelXa) thread #1 - JmsConsumer[DEV.QUEUE.1],5,com.redhat.fuse.quickstarts.Application] 2019-04-02 22:23:42.646 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::addChildThread () action 0:ffffc0a8000e:f11d:5ca3c4ab:31 adding Thread[Camel (SpringBootCamelXa) thread #1 - JmsConsumer[DEV.QUEUE.1],5,com.redhat.fuse.quickstarts.Application] result = true 2019-04-02 22:23:42.646 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : TransactionReaper::insert ( BasicAction: 0:ffffc0a8000e:f11d:5ca3c4ab:31 status: ActionStatus.RUNNING, 60 ) 2019-04-02 22:23:42.646 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : ReaperElement::ReaperElement ( BasicAction: 0:ffffc0a8000e:f11d:5ca3c4ab:31 status: ActionStatus.RUNNING, 60 ) 2019-04-02 22:23:42.647 INFO 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-18 >>> (transactedTargetUnstableWay) from(jms://queue:DEV.QUEUE.1?transacted=true) --> transacted <<< Pattern:InOnly, Headers:{Accept=*/*, breadcrumbId=ID-vkasala-OSX-1554236593617-0-3, CamelHttpCharacterEncoding=UTF-8, CamelHttpMethod=POST, CamelHttpPath=, CamelHttpQuery=entry=2, CamelHttpUri=/api/xa, CamelHttpUrl=http://localhost:8080/api/xa, CamelServletContextPath=/xa, entry=2, Host=localhost:8080, JMSCorrelationID=null, JMSCorrelationIDAsBytes=null, JMSDeliveryMode=2, JMSDestination=ActiveMQQueue[DEV.QUEUE.1], JMSExpiration=0, JMSMessageID=ID:306fdf1c-5585-11e9-b65d-186590d94cf7, JMSPriority=4, JMSRedelivered=true, JMSReplyTo=null, JMSTimestamp=1554236614315, JMSType=null, JMSXDeliveryCount=7, JMSXGroupID=null, JMSXUserID=null, User-Agent=curl/7.54.0}, BodyType:String, Body:Reply XA transaction: 2 2019-04-02 22:23:42.692 INFO 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-18 >>> (transactedTargetUnstableWay) transacted --> log[Processing {message} = ${body}] <<< Pattern:InOnly, Headers:{Accept=*/*, breadcrumbId=ID-vkasala-OSX-1554236593617-0-3, CamelHttpCharacterEncoding=UTF-8, CamelHttpMethod=POST, CamelHttpPath=, CamelHttpQuery=entry=2, CamelHttpUri=/api/xa, CamelHttpUrl=http://localhost:8080/api/xa, CamelServletContextPath=/xa, entry=2, Host=localhost:8080, JMSCorrelationID=null, JMSCorrelationIDAsBytes=null, JMSDeliveryMode=2, JMSDestination=ActiveMQQueue[DEV.QUEUE.1], JMSExpiration=0, JMSMessageID=ID:306fdf1c-5585-11e9-b65d-186590d94cf7, JMSPriority=4, JMSRedelivered=true, JMSReplyTo=null, JMSTimestamp=1554236614315, JMSType=null, JMSXDeliveryCount=7, JMSXGroupID=null, JMSXUserID=null, User-Agent=curl/7.54.0}, BodyType:String, Body:Reply XA transaction: 2 2019-04-02 22:23:42.693 INFO 29568 --- [er[DEV.QUEUE.1]] transactedTargetUnstableWay : Processing {message} = Reply XA transaction: 2 2019-04-02 22:23:42.694 INFO 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-18 >>> (transactedTargetUnstableWay) log[Processing {message} = ${body}] --> ref:toDbMessageProcessor <<< Pattern:InOnly, Headers:{Accept=*/*, breadcrumbId=ID-vkasala-OSX-1554236593617-0-3, CamelHttpCharacterEncoding=UTF-8, CamelHttpMethod=POST, CamelHttpPath=, CamelHttpQuery=entry=2, CamelHttpUri=/api/xa, CamelHttpUrl=http://localhost:8080/api/xa, CamelServletContextPath=/xa, entry=2, Host=localhost:8080, JMSCorrelationID=null, JMSCorrelationIDAsBytes=null, JMSDeliveryMode=2, JMSDestination=ActiveMQQueue[DEV.QUEUE.1], JMSExpiration=0, JMSMessageID=ID:306fdf1c-5585-11e9-b65d-186590d94cf7, JMSPriority=4, JMSRedelivered=true, JMSReplyTo=null, JMSTimestamp=1554236614315, JMSType=null, JMSXDeliveryCount=7, JMSXGroupID=null, JMSXUserID=null, User-Agent=curl/7.54.0}, BodyType:String, Body:Reply XA transaction: 2 2019-04-02 22:23:42.695 INFO 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-18 >>> (transactedTargetUnstableWay) ref:toDbMessageProcessor --> jpa://com.redhat.fuse.quickstarts.DbMessage?flushOnSend=true&usePersist=true <<< Pattern:InOnly, BodyType:com.redhat.fuse.quickstarts.DbMessage, Body:Reply XA transaction: 2 2019-04-02 22:23:42.695 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:42.695 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.registerSynchronization - Class: class org.hibernate.resource.transaction.backend.jta.internal.synchronization.RegisteredSynchronization HashCode: 2028019328 toString: org.hibernate.resource.transaction.backend.jta.internal.synchronization.RegisteredSynchronization@78e11e80 2019-04-02 22:23:42.695 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:42.695 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:42.696 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE Hibernate: insert into message (message_text) values (?) 2019-04-02 22:23:42.696 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:42.843 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.registerSynchronization - Class: class org.apache.commons.dbcp2.managed.TransactionContext$1 HashCode: 298787668 toString: org.apache.commons.dbcp2.managed.TransactionContext$1@11cf2354 2019-04-02 22:23:42.843 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.enlistResource ( com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ea9ec74 ) 2019-04-02 22:23:42.843 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:42.843 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : StateManager::StateManager( 1, 0 ) 2019-04-02 22:23:42.843 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : AbstractRecord::AbstractRecord (0:ffffc0a8000e:f11d:5ca3c4ab:35, 1) 2019-04-02 22:23:42.843 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : XAResourceRecord.XAResourceRecord ( < formatId=131077, gtrid_length=29, bqual_length=36, tx_uid=0:ffffc0a8000e:f11d:5ca3c4ab:31, node_name=1, branch_uid=0:ffffc0a8000e:f11d:5ca3c4ab:34, subordinatenodename=null, eis_name=0 >, com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ea9ec74 ), record id=0:ffffc0a8000e:f11d:5ca3c4ab:35 2019-04-02 22:23:43.133 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : RecordList::insert(RecordList: empty) : appending /StateManager/AbstractRecord/XAResourceRecord for 0:ffffc0a8000e:f11d:5ca3c4ab:35 2019-04-02 22:23:43.133 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:43.133 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:43.418 WARN 29568 --- [er[DEV.QUEUE.1]] o.h.engine.jdbc.spi.SqlExceptionHelper : SQL Error: 1062, SQLState: 23000 2019-04-02 22:23:43.419 ERROR 29568 --- [er[DEV.QUEUE.1]] o.h.engine.jdbc.spi.SqlExceptionHelper : Duplicate entry 'Reply XA transaction: 2' for key 'PRIMARY' 2019-04-02 22:23:43.419 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:43.419 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:43.419 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:43.419 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : BaseTransaction.setRollbackOnly 2019-04-02 22:23:43.419 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.setRollbackOnly 2019-04-02 22:23:43.419 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::preventCommit( BasicAction: 0:ffffc0a8000e:f11d:5ca3c4ab:31 status: ActionStatus.RUNNING) 2019-04-02 22:23:43.419 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_MARKED_ROLLBACK 2019-04-02 22:23:43.419 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : BaseTransaction.setRollbackOnly 2019-04-02 22:23:43.419 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.setRollbackOnly 2019-04-02 22:23:43.419 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::preventCommit( BasicAction: 0:ffffc0a8000e:f11d:5ca3c4ab:31 status: ActionStatus.ABORT_ONLY) 2019-04-02 22:23:43.420 INFO 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-18 >>> (transactedTargetUnstableWay) jpa://com.redhat.fuse.quickstarts.DbMessage?flushOnSend=true&usePersist=true --> OnException[PersistenceException] <<< Pattern:InOnly, BodyType:com.redhat.fuse.quickstarts.DbMessage, Body:Reply XA transaction: 2 2019-04-02 22:23:43.420 INFO 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-18 >>> OnException[PersistenceException] --> mock://xaTransactionErr <<< Pattern:InOnly, BodyType:com.redhat.fuse.quickstarts.DbMessage, Body:Reply XA transaction: 2 2019-04-02 22:23:43.420 INFO 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-18 >>> mock://xaTransactionErr --> rollback <<< Pattern:InOnly, BodyType:com.redhat.fuse.quickstarts.DbMessage, Body:Reply XA transaction: 2 2019-04-02 22:23:43.421 WARN 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.DefaultErrorHandler : Rollback (MessageId: ID-vkasala-OSX-1554236593617-0-19 on ExchangeId: ID-vkasala-OSX-1554236593617-0-18) due: org.hibernate.exception.ConstraintViolationException: could not execute statement Message History --------------------------------------------------------------------------------------------------------------------------------------- RouteId ProcessorId Processor Elapsed (ms) [transactedTargetUn] [transactedTargetUn] [jms://queue:DEV.QUEUE.1?transacted=true ] [ 775] [transactedTargetUn] [transacted1 ] [transacted ] [ 0] [transactedTargetUn] [log2 ] [log ] [ 2] [transactedTargetUn] [process1 ] [ref:toDbMessageProcessor ] [ 0] [transactedTargetUn] [to4 ] [jpa:com.redhat.fuse.quickstarts.DbMessage?flushOnSend=true&usePersist=true ] [ 0] [transactedTargetUn] [to2 ] [mock:xaTransactionErr ] [ 0] [transactedTargetUn] [rollback1 ] [rollback ] [ 1] 2019-04-02 22:23:43.422 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_MARKED_ROLLBACK 2019-04-02 22:23:43.422 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_MARKED_ROLLBACK 2019-04-02 22:23:43.422 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : BaseTransaction.rollback 2019-04-02 22:23:43.422 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.rollbackAndDisassociate 2019-04-02 22:23:43.422 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::Abort() for action-id 0:ffffc0a8000e:f11d:5ca3c4ab:31 2019-04-02 22:23:43.422 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::doAbort (XAResourceRecord < resource:com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ea9ec74, txid:< formatId=131077, gtrid_length=29, bqual_length=36, tx_uid=0:ffffc0a8000e:f11d:5ca3c4ab:31, node_name=1, branch_uid=0:ffffc0a8000e:f11d:5ca3c4ab:34, subordinatenodename=null, eis_name=0 >, heuristic: TwoPhaseOutcome.FINISH_OK com.arjuna.ats.internal.jta.resources.arjunacore.XAResourceRecord@5afdf4ae >) 2019-04-02 22:23:43.422 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : XAResourceRecord.topLevelAbort for XAResourceRecord < resource:com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ea9ec74, txid:< formatId=131077, gtrid_length=29, bqual_length=36, tx_uid=0:ffffc0a8000e:f11d:5ca3c4ab:31, node_name=1, branch_uid=0:ffffc0a8000e:f11d:5ca3c4ab:34, subordinatenodename=null, eis_name=0 >, heuristic: TwoPhaseOutcome.FINISH_OK com.arjuna.ats.internal.jta.resources.arjunacore.XAResourceRecord@5afdf4ae >, record id=0:ffffc0a8000e:f11d:5ca3c4ab:35 2019-04-02 22:23:43.996 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::doAbort() result for action-id (0:ffffc0a8000e:f11d:5ca3c4ab:31) on record id: (0:ffffc0a8000e:f11d:5ca3c4ab:35) is (TwoPhaseOutcome.FINISH_OK) node id: (1) 2019-04-02 22:23:43.996 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : SynchronizationImple.afterCompletion - Class: class org.apache.commons.dbcp2.managed.TransactionContext$1 HashCode: 298787668 toString: org.apache.commons.dbcp2.managed.TransactionContext$1@11cf2354 2019-04-02 22:23:43.996 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : SynchronizationImple.afterCompletion - Class: class org.hibernate.resource.transaction.backend.jta.internal.synchronization.RegisteredSynchronization HashCode: 2028019328 toString: org.hibernate.resource.transaction.backend.jta.internal.synchronization.RegisteredSynchronization@78e11e80 2019-04-02 22:23:43.997 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::removeChildThread () action 0:ffffc0a8000e:f11d:5ca3c4ab:31 removing 1 2019-04-02 22:23:43.997 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::removeChildThread () action 0:ffffc0a8000e:f11d:5ca3c4ab:31 removing 1 result = true 2019-04-02 22:23:43.997 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : TransactionReaper::remove ( BasicAction: 0:ffffc0a8000e:f11d:5ca3c4ab:31 status: ActionStatus.ABORTED ) 2019-04-02 22:23:43.997 WARN 29568 --- [er[DEV.QUEUE.1]] o.a.c.s.spi.TransactionErrorHandler : Transaction rollback (0x7851c831) redelivered(true) for (MessageId: ID:306fdf1c-5585-11e9-b65d-186590d94cf7 on ExchangeId: ID-vkasala-OSX-1554236593617-0-18) due exchange was marked for rollbackOnly 2019-04-02 22:23:43.997 WARN 29568 --- [er[DEV.QUEUE.1]] o.a.c.c.jms.EndpointMessageListener : Execution of JMS message listener failed. Caused by: [org.apache.camel.RuntimeCamelException - org.apache.camel.RollbackExchangeException: Intended rollback. Exchange[ID-vkasala-OSX-1554236593617-0-18]] 2019-04-02 22:23:44.013 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@4d368445 2019-04-02 22:23:44.023 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : BaseTransaction.begin 2019-04-02 22:23:44.023 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : StateManager::StateManager( 2, 0 ) 2019-04-02 22:23:44.023 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::BasicAction() 2019-04-02 22:23:44.023 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::Begin() for action-id 0:ffffc0a8000e:f11d:5ca3c4ab:37 2019-04-02 22:23:44.023 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::actionInitialise() for action-id 0:ffffc0a8000e:f11d:5ca3c4ab:37 2019-04-02 22:23:44.023 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : ActionHierarchy::ActionHierarchy(1) 2019-04-02 22:23:44.023 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : ActionHierarchy::add(0:ffffc0a8000e:f11d:5ca3c4ab:37, 1) 2019-04-02 22:23:44.023 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::addChildThread () action 0:ffffc0a8000e:f11d:5ca3c4ab:37 adding Thread[Camel (SpringBootCamelXa) thread #1 - JmsConsumer[DEV.QUEUE.1],5,com.redhat.fuse.quickstarts.Application] 2019-04-02 22:23:44.023 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::addChildThread () action 0:ffffc0a8000e:f11d:5ca3c4ab:37 adding Thread[Camel (SpringBootCamelXa) thread #1 - JmsConsumer[DEV.QUEUE.1],5,com.redhat.fuse.quickstarts.Application] result = true 2019-04-02 22:23:44.023 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : TransactionReaper::insert ( BasicAction: 0:ffffc0a8000e:f11d:5ca3c4ab:37 status: ActionStatus.RUNNING, 60 ) 2019-04-02 22:23:44.023 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : ReaperElement::ReaperElement ( BasicAction: 0:ffffc0a8000e:f11d:5ca3c4ab:37 status: ActionStatus.RUNNING, 60 ) 2019-04-02 22:23:44.023 INFO 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-20 >>> (transactedTargetUnstableWay) from(jms://queue:DEV.QUEUE.1?transacted=true) --> transacted <<< Pattern:InOnly, Headers:{Accept=*/*, breadcrumbId=ID-vkasala-OSX-1554236593617-0-3, CamelHttpCharacterEncoding=UTF-8, CamelHttpMethod=POST, CamelHttpPath=, CamelHttpQuery=entry=2, CamelHttpUri=/api/xa, CamelHttpUrl=http://localhost:8080/api/xa, CamelServletContextPath=/xa, entry=2, Host=localhost:8080, JMSCorrelationID=null, JMSCorrelationIDAsBytes=null, JMSDeliveryMode=2, JMSDestination=ActiveMQQueue[DEV.QUEUE.1], JMSExpiration=0, JMSMessageID=ID:306fdf1c-5585-11e9-b65d-186590d94cf7, JMSPriority=4, JMSRedelivered=true, JMSReplyTo=null, JMSTimestamp=1554236614315, JMSType=null, JMSXDeliveryCount=8, JMSXGroupID=null, JMSXUserID=null, User-Agent=curl/7.54.0}, BodyType:String, Body:Reply XA transaction: 2 2019-04-02 22:23:44.023 INFO 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-20 >>> (transactedTargetUnstableWay) transacted --> log[Processing {message} = ${body}] <<< Pattern:InOnly, Headers:{Accept=*/*, breadcrumbId=ID-vkasala-OSX-1554236593617-0-3, CamelHttpCharacterEncoding=UTF-8, CamelHttpMethod=POST, CamelHttpPath=, CamelHttpQuery=entry=2, CamelHttpUri=/api/xa, CamelHttpUrl=http://localhost:8080/api/xa, CamelServletContextPath=/xa, entry=2, Host=localhost:8080, JMSCorrelationID=null, JMSCorrelationIDAsBytes=null, JMSDeliveryMode=2, JMSDestination=ActiveMQQueue[DEV.QUEUE.1], JMSExpiration=0, JMSMessageID=ID:306fdf1c-5585-11e9-b65d-186590d94cf7, JMSPriority=4, JMSRedelivered=true, JMSReplyTo=null, JMSTimestamp=1554236614315, JMSType=null, JMSXDeliveryCount=8, JMSXGroupID=null, JMSXUserID=null, User-Agent=curl/7.54.0}, BodyType:String, Body:Reply XA transaction: 2 2019-04-02 22:23:44.024 INFO 29568 --- [er[DEV.QUEUE.1]] transactedTargetUnstableWay : Processing {message} = Reply XA transaction: 2 2019-04-02 22:23:44.024 INFO 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-20 >>> (transactedTargetUnstableWay) log[Processing {message} = ${body}] --> ref:toDbMessageProcessor <<< Pattern:InOnly, Headers:{Accept=*/*, breadcrumbId=ID-vkasala-OSX-1554236593617-0-3, CamelHttpCharacterEncoding=UTF-8, CamelHttpMethod=POST, CamelHttpPath=, CamelHttpQuery=entry=2, CamelHttpUri=/api/xa, CamelHttpUrl=http://localhost:8080/api/xa, CamelServletContextPath=/xa, entry=2, Host=localhost:8080, JMSCorrelationID=null, JMSCorrelationIDAsBytes=null, JMSDeliveryMode=2, JMSDestination=ActiveMQQueue[DEV.QUEUE.1], JMSExpiration=0, JMSMessageID=ID:306fdf1c-5585-11e9-b65d-186590d94cf7, JMSPriority=4, JMSRedelivered=true, JMSReplyTo=null, JMSTimestamp=1554236614315, JMSType=null, JMSXDeliveryCount=8, JMSXGroupID=null, JMSXUserID=null, User-Agent=curl/7.54.0}, BodyType:String, Body:Reply XA transaction: 2 2019-04-02 22:23:44.024 INFO 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-20 >>> (transactedTargetUnstableWay) ref:toDbMessageProcessor --> jpa://com.redhat.fuse.quickstarts.DbMessage?flushOnSend=true&usePersist=true <<< Pattern:InOnly, BodyType:com.redhat.fuse.quickstarts.DbMessage, Body:Reply XA transaction: 2 2019-04-02 22:23:44.024 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:44.024 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.registerSynchronization - Class: class org.hibernate.resource.transaction.backend.jta.internal.synchronization.RegisteredSynchronization HashCode: 886083660 toString: org.hibernate.resource.transaction.backend.jta.internal.synchronization.RegisteredSynchronization@34d0904c 2019-04-02 22:23:44.024 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:44.024 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:44.024 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE Hibernate: insert into message (message_text) values (?) 2019-04-02 22:23:44.025 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:44.166 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.registerSynchronization - Class: class org.apache.commons.dbcp2.managed.TransactionContext$1 HashCode: 679283540 toString: org.apache.commons.dbcp2.managed.TransactionContext$1@287d0b54 2019-04-02 22:23:44.167 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.enlistResource ( com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ea9ec74 ) 2019-04-02 22:23:44.167 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:44.167 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : StateManager::StateManager( 1, 0 ) 2019-04-02 22:23:44.167 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : AbstractRecord::AbstractRecord (0:ffffc0a8000e:f11d:5ca3c4ab:3b, 1) 2019-04-02 22:23:44.167 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : XAResourceRecord.XAResourceRecord ( < formatId=131077, gtrid_length=29, bqual_length=36, tx_uid=0:ffffc0a8000e:f11d:5ca3c4ab:37, node_name=1, branch_uid=0:ffffc0a8000e:f11d:5ca3c4ab:3a, subordinatenodename=null, eis_name=0 >, com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ea9ec74 ), record id=0:ffffc0a8000e:f11d:5ca3c4ab:3b 2019-04-02 22:23:44.449 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : RecordList::insert(RecordList: empty) : appending /StateManager/AbstractRecord/XAResourceRecord for 0:ffffc0a8000e:f11d:5ca3c4ab:3b 2019-04-02 22:23:44.449 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:44.449 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:44.738 WARN 29568 --- [er[DEV.QUEUE.1]] o.h.engine.jdbc.spi.SqlExceptionHelper : SQL Error: 1062, SQLState: 23000 2019-04-02 22:23:44.738 ERROR 29568 --- [er[DEV.QUEUE.1]] o.h.engine.jdbc.spi.SqlExceptionHelper : Duplicate entry 'Reply XA transaction: 2' for key 'PRIMARY' 2019-04-02 22:23:44.739 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:44.739 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:44.739 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:44.739 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : BaseTransaction.setRollbackOnly 2019-04-02 22:23:44.739 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.setRollbackOnly 2019-04-02 22:23:44.739 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::preventCommit( BasicAction: 0:ffffc0a8000e:f11d:5ca3c4ab:37 status: ActionStatus.RUNNING) 2019-04-02 22:23:44.739 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_MARKED_ROLLBACK 2019-04-02 22:23:44.739 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : BaseTransaction.setRollbackOnly 2019-04-02 22:23:44.739 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.setRollbackOnly 2019-04-02 22:23:44.739 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::preventCommit( BasicAction: 0:ffffc0a8000e:f11d:5ca3c4ab:37 status: ActionStatus.ABORT_ONLY) 2019-04-02 22:23:44.740 INFO 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-20 >>> (transactedTargetUnstableWay) jpa://com.redhat.fuse.quickstarts.DbMessage?flushOnSend=true&usePersist=true --> OnException[PersistenceException] <<< Pattern:InOnly, BodyType:com.redhat.fuse.quickstarts.DbMessage, Body:Reply XA transaction: 2 2019-04-02 22:23:44.740 INFO 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-20 >>> OnException[PersistenceException] --> mock://xaTransactionErr <<< Pattern:InOnly, BodyType:com.redhat.fuse.quickstarts.DbMessage, Body:Reply XA transaction: 2 2019-04-02 22:23:44.740 INFO 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-20 >>> mock://xaTransactionErr --> rollback <<< Pattern:InOnly, BodyType:com.redhat.fuse.quickstarts.DbMessage, Body:Reply XA transaction: 2 2019-04-02 22:23:44.741 WARN 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.DefaultErrorHandler : Rollback (MessageId: ID-vkasala-OSX-1554236593617-0-21 on ExchangeId: ID-vkasala-OSX-1554236593617-0-20) due: org.hibernate.exception.ConstraintViolationException: could not execute statement Message History --------------------------------------------------------------------------------------------------------------------------------------- RouteId ProcessorId Processor Elapsed (ms) [transactedTargetUn] [transactedTargetUn] [jms://queue:DEV.QUEUE.1?transacted=true ] [ 717] [transactedTargetUn] [transacted1 ] [transacted ] [ 0] [transactedTargetUn] [log2 ] [log ] [ 1] [transactedTargetUn] [process1 ] [ref:toDbMessageProcessor ] [ 0] [transactedTargetUn] [to4 ] [jpa:com.redhat.fuse.quickstarts.DbMessage?flushOnSend=true&usePersist=true ] [ 0] [transactedTargetUn] [to2 ] [mock:xaTransactionErr ] [ 1] [transactedTargetUn] [rollback1 ] [rollback ] [ 0] 2019-04-02 22:23:44.741 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_MARKED_ROLLBACK 2019-04-02 22:23:44.741 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_MARKED_ROLLBACK 2019-04-02 22:23:44.741 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : BaseTransaction.rollback 2019-04-02 22:23:44.741 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.rollbackAndDisassociate 2019-04-02 22:23:44.741 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::Abort() for action-id 0:ffffc0a8000e:f11d:5ca3c4ab:37 2019-04-02 22:23:44.741 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::doAbort (XAResourceRecord < resource:com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ea9ec74, txid:< formatId=131077, gtrid_length=29, bqual_length=36, tx_uid=0:ffffc0a8000e:f11d:5ca3c4ab:37, node_name=1, branch_uid=0:ffffc0a8000e:f11d:5ca3c4ab:3a, subordinatenodename=null, eis_name=0 >, heuristic: TwoPhaseOutcome.FINISH_OK com.arjuna.ats.internal.jta.resources.arjunacore.XAResourceRecord@4c1f279d >) 2019-04-02 22:23:44.741 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : XAResourceRecord.topLevelAbort for XAResourceRecord < resource:com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ea9ec74, txid:< formatId=131077, gtrid_length=29, bqual_length=36, tx_uid=0:ffffc0a8000e:f11d:5ca3c4ab:37, node_name=1, branch_uid=0:ffffc0a8000e:f11d:5ca3c4ab:3a, subordinatenodename=null, eis_name=0 >, heuristic: TwoPhaseOutcome.FINISH_OK com.arjuna.ats.internal.jta.resources.arjunacore.XAResourceRecord@4c1f279d >, record id=0:ffffc0a8000e:f11d:5ca3c4ab:3b 2019-04-02 22:23:45.313 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::doAbort() result for action-id (0:ffffc0a8000e:f11d:5ca3c4ab:37) on record id: (0:ffffc0a8000e:f11d:5ca3c4ab:3b) is (TwoPhaseOutcome.FINISH_OK) node id: (1) 2019-04-02 22:23:45.313 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : SynchronizationImple.afterCompletion - Class: class org.apache.commons.dbcp2.managed.TransactionContext$1 HashCode: 679283540 toString: org.apache.commons.dbcp2.managed.TransactionContext$1@287d0b54 2019-04-02 22:23:45.313 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : SynchronizationImple.afterCompletion - Class: class org.hibernate.resource.transaction.backend.jta.internal.synchronization.RegisteredSynchronization HashCode: 886083660 toString: org.hibernate.resource.transaction.backend.jta.internal.synchronization.RegisteredSynchronization@34d0904c 2019-04-02 22:23:45.313 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::removeChildThread () action 0:ffffc0a8000e:f11d:5ca3c4ab:37 removing 1 2019-04-02 22:23:45.314 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::removeChildThread () action 0:ffffc0a8000e:f11d:5ca3c4ab:37 removing 1 result = true 2019-04-02 22:23:45.314 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : TransactionReaper::remove ( BasicAction: 0:ffffc0a8000e:f11d:5ca3c4ab:37 status: ActionStatus.ABORTED ) 2019-04-02 22:23:45.314 WARN 29568 --- [er[DEV.QUEUE.1]] o.a.c.s.spi.TransactionErrorHandler : Transaction rollback (0x7851c831) redelivered(true) for (MessageId: ID:306fdf1c-5585-11e9-b65d-186590d94cf7 on ExchangeId: ID-vkasala-OSX-1554236593617-0-20) due exchange was marked for rollbackOnly 2019-04-02 22:23:45.315 WARN 29568 --- [er[DEV.QUEUE.1]] o.a.c.c.jms.EndpointMessageListener : Execution of JMS message listener failed. Caused by: [org.apache.camel.RuntimeCamelException - org.apache.camel.RollbackExchangeException: Intended rollback. Exchange[ID-vkasala-OSX-1554236593617-0-20]] 2019-04-02 22:23:45.330 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@29c85764 2019-04-02 22:23:45.341 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : BaseTransaction.begin 2019-04-02 22:23:45.341 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : StateManager::StateManager( 2, 0 ) 2019-04-02 22:23:45.341 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::BasicAction() 2019-04-02 22:23:45.341 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::Begin() for action-id 0:ffffc0a8000e:f11d:5ca3c4ab:3d 2019-04-02 22:23:45.341 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::actionInitialise() for action-id 0:ffffc0a8000e:f11d:5ca3c4ab:3d 2019-04-02 22:23:45.341 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : ActionHierarchy::ActionHierarchy(1) 2019-04-02 22:23:45.341 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : ActionHierarchy::add(0:ffffc0a8000e:f11d:5ca3c4ab:3d, 1) 2019-04-02 22:23:45.341 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::addChildThread () action 0:ffffc0a8000e:f11d:5ca3c4ab:3d adding Thread[Camel (SpringBootCamelXa) thread #1 - JmsConsumer[DEV.QUEUE.1],5,com.redhat.fuse.quickstarts.Application] 2019-04-02 22:23:45.341 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::addChildThread () action 0:ffffc0a8000e:f11d:5ca3c4ab:3d adding Thread[Camel (SpringBootCamelXa) thread #1 - JmsConsumer[DEV.QUEUE.1],5,com.redhat.fuse.quickstarts.Application] result = true 2019-04-02 22:23:45.341 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : TransactionReaper::insert ( BasicAction: 0:ffffc0a8000e:f11d:5ca3c4ab:3d status: ActionStatus.RUNNING, 60 ) 2019-04-02 22:23:45.341 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : ReaperElement::ReaperElement ( BasicAction: 0:ffffc0a8000e:f11d:5ca3c4ab:3d status: ActionStatus.RUNNING, 60 ) 2019-04-02 22:23:45.341 INFO 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-22 >>> (transactedTargetUnstableWay) from(jms://queue:DEV.QUEUE.1?transacted=true) --> transacted <<< Pattern:InOnly, Headers:{Accept=*/*, breadcrumbId=ID-vkasala-OSX-1554236593617-0-3, CamelHttpCharacterEncoding=UTF-8, CamelHttpMethod=POST, CamelHttpPath=, CamelHttpQuery=entry=2, CamelHttpUri=/api/xa, CamelHttpUrl=http://localhost:8080/api/xa, CamelServletContextPath=/xa, entry=2, Host=localhost:8080, JMSCorrelationID=null, JMSCorrelationIDAsBytes=null, JMSDeliveryMode=2, JMSDestination=ActiveMQQueue[DEV.QUEUE.1], JMSExpiration=0, JMSMessageID=ID:306fdf1c-5585-11e9-b65d-186590d94cf7, JMSPriority=4, JMSRedelivered=true, JMSReplyTo=null, JMSTimestamp=1554236614315, JMSType=null, JMSXDeliveryCount=9, JMSXGroupID=null, JMSXUserID=null, User-Agent=curl/7.54.0}, BodyType:String, Body:Reply XA transaction: 2 2019-04-02 22:23:45.372 INFO 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-22 >>> (transactedTargetUnstableWay) transacted --> log[Processing {message} = ${body}] <<< Pattern:InOnly, Headers:{Accept=*/*, breadcrumbId=ID-vkasala-OSX-1554236593617-0-3, CamelHttpCharacterEncoding=UTF-8, CamelHttpMethod=POST, CamelHttpPath=, CamelHttpQuery=entry=2, CamelHttpUri=/api/xa, CamelHttpUrl=http://localhost:8080/api/xa, CamelServletContextPath=/xa, entry=2, Host=localhost:8080, JMSCorrelationID=null, JMSCorrelationIDAsBytes=null, JMSDeliveryMode=2, JMSDestination=ActiveMQQueue[DEV.QUEUE.1], JMSExpiration=0, JMSMessageID=ID:306fdf1c-5585-11e9-b65d-186590d94cf7, JMSPriority=4, JMSRedelivered=true, JMSReplyTo=null, JMSTimestamp=1554236614315, JMSType=null, JMSXDeliveryCount=9, JMSXGroupID=null, JMSXUserID=null, User-Agent=curl/7.54.0}, BodyType:String, Body:Reply XA transaction: 2 2019-04-02 22:23:45.372 INFO 29568 --- [er[DEV.QUEUE.1]] transactedTargetUnstableWay : Processing {message} = Reply XA transaction: 2 2019-04-02 22:23:45.372 INFO 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-22 >>> (transactedTargetUnstableWay) log[Processing {message} = ${body}] --> ref:toDbMessageProcessor <<< Pattern:InOnly, Headers:{Accept=*/*, breadcrumbId=ID-vkasala-OSX-1554236593617-0-3, CamelHttpCharacterEncoding=UTF-8, CamelHttpMethod=POST, CamelHttpPath=, CamelHttpQuery=entry=2, CamelHttpUri=/api/xa, CamelHttpUrl=http://localhost:8080/api/xa, CamelServletContextPath=/xa, entry=2, Host=localhost:8080, JMSCorrelationID=null, JMSCorrelationIDAsBytes=null, JMSDeliveryMode=2, JMSDestination=ActiveMQQueue[DEV.QUEUE.1], JMSExpiration=0, JMSMessageID=ID:306fdf1c-5585-11e9-b65d-186590d94cf7, JMSPriority=4, JMSRedelivered=true, JMSReplyTo=null, JMSTimestamp=1554236614315, JMSType=null, JMSXDeliveryCount=9, JMSXGroupID=null, JMSXUserID=null, User-Agent=curl/7.54.0}, BodyType:String, Body:Reply XA transaction: 2 2019-04-02 22:23:45.372 INFO 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-22 >>> (transactedTargetUnstableWay) ref:toDbMessageProcessor --> jpa://com.redhat.fuse.quickstarts.DbMessage?flushOnSend=true&usePersist=true <<< Pattern:InOnly, BodyType:com.redhat.fuse.quickstarts.DbMessage, Body:Reply XA transaction: 2 2019-04-02 22:23:45.373 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:45.373 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.registerSynchronization - Class: class org.hibernate.resource.transaction.backend.jta.internal.synchronization.RegisteredSynchronization HashCode: 1290650278 toString: org.hibernate.resource.transaction.backend.jta.internal.synchronization.RegisteredSynchronization@4cedc2a6 2019-04-02 22:23:45.373 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:45.373 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:45.373 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE Hibernate: insert into message (message_text) values (?) 2019-04-02 22:23:45.373 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:45.516 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.registerSynchronization - Class: class org.apache.commons.dbcp2.managed.TransactionContext$1 HashCode: 2040212144 toString: org.apache.commons.dbcp2.managed.TransactionContext$1@799b2ab0 2019-04-02 22:23:45.516 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.enlistResource ( com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ea9ec74 ) 2019-04-02 22:23:45.516 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:45.516 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : StateManager::StateManager( 1, 0 ) 2019-04-02 22:23:45.516 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : AbstractRecord::AbstractRecord (0:ffffc0a8000e:f11d:5ca3c4ab:41, 1) 2019-04-02 22:23:45.516 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : XAResourceRecord.XAResourceRecord ( < formatId=131077, gtrid_length=29, bqual_length=36, tx_uid=0:ffffc0a8000e:f11d:5ca3c4ab:3d, node_name=1, branch_uid=0:ffffc0a8000e:f11d:5ca3c4ab:40, subordinatenodename=null, eis_name=0 >, com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ea9ec74 ), record id=0:ffffc0a8000e:f11d:5ca3c4ab:41 2019-04-02 22:23:45.797 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : RecordList::insert(RecordList: empty) : appending /StateManager/AbstractRecord/XAResourceRecord for 0:ffffc0a8000e:f11d:5ca3c4ab:41 2019-04-02 22:23:45.797 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:45.797 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:46.082 WARN 29568 --- [er[DEV.QUEUE.1]] o.h.engine.jdbc.spi.SqlExceptionHelper : SQL Error: 1062, SQLState: 23000 2019-04-02 22:23:46.082 ERROR 29568 --- [er[DEV.QUEUE.1]] o.h.engine.jdbc.spi.SqlExceptionHelper : Duplicate entry 'Reply XA transaction: 2' for key 'PRIMARY' 2019-04-02 22:23:46.082 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:46.082 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:46.082 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:46.083 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : BaseTransaction.setRollbackOnly 2019-04-02 22:23:46.083 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.setRollbackOnly 2019-04-02 22:23:46.083 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::preventCommit( BasicAction: 0:ffffc0a8000e:f11d:5ca3c4ab:3d status: ActionStatus.RUNNING) 2019-04-02 22:23:46.083 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_MARKED_ROLLBACK 2019-04-02 22:23:46.083 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : BaseTransaction.setRollbackOnly 2019-04-02 22:23:46.083 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.setRollbackOnly 2019-04-02 22:23:46.083 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::preventCommit( BasicAction: 0:ffffc0a8000e:f11d:5ca3c4ab:3d status: ActionStatus.ABORT_ONLY) 2019-04-02 22:23:46.083 INFO 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-22 >>> (transactedTargetUnstableWay) jpa://com.redhat.fuse.quickstarts.DbMessage?flushOnSend=true&usePersist=true --> OnException[PersistenceException] <<< Pattern:InOnly, BodyType:com.redhat.fuse.quickstarts.DbMessage, Body:Reply XA transaction: 2 2019-04-02 22:23:46.084 INFO 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-22 >>> OnException[PersistenceException] --> mock://xaTransactionErr <<< Pattern:InOnly, BodyType:com.redhat.fuse.quickstarts.DbMessage, Body:Reply XA transaction: 2 2019-04-02 22:23:46.084 INFO 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-22 >>> mock://xaTransactionErr --> rollback <<< Pattern:InOnly, BodyType:com.redhat.fuse.quickstarts.DbMessage, Body:Reply XA transaction: 2 2019-04-02 22:23:46.085 WARN 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.DefaultErrorHandler : Rollback (MessageId: ID-vkasala-OSX-1554236593617-0-23 on ExchangeId: ID-vkasala-OSX-1554236593617-0-22) due: org.hibernate.exception.ConstraintViolationException: could not execute statement Message History --------------------------------------------------------------------------------------------------------------------------------------- RouteId ProcessorId Processor Elapsed (ms) [transactedTargetUn] [transactedTargetUn] [jms://queue:DEV.QUEUE.1?transacted=true ] [ 744] [transactedTargetUn] [transacted1 ] [transacted ] [ 0] [transactedTargetUn] [log2 ] [log ] [ 0] [transactedTargetUn] [process1 ] [ref:toDbMessageProcessor ] [ 0] [transactedTargetUn] [to4 ] [jpa:com.redhat.fuse.quickstarts.DbMessage?flushOnSend=true&usePersist=true ] [ 0] [transactedTargetUn] [to2 ] [mock:xaTransactionErr ] [ 1] [transactedTargetUn] [rollback1 ] [rollback ] [ 0] 2019-04-02 22:23:46.085 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_MARKED_ROLLBACK 2019-04-02 22:23:46.085 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_MARKED_ROLLBACK 2019-04-02 22:23:46.085 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : BaseTransaction.rollback 2019-04-02 22:23:46.085 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.rollbackAndDisassociate 2019-04-02 22:23:46.085 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::Abort() for action-id 0:ffffc0a8000e:f11d:5ca3c4ab:3d 2019-04-02 22:23:46.085 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::doAbort (XAResourceRecord < resource:com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ea9ec74, txid:< formatId=131077, gtrid_length=29, bqual_length=36, tx_uid=0:ffffc0a8000e:f11d:5ca3c4ab:3d, node_name=1, branch_uid=0:ffffc0a8000e:f11d:5ca3c4ab:40, subordinatenodename=null, eis_name=0 >, heuristic: TwoPhaseOutcome.FINISH_OK com.arjuna.ats.internal.jta.resources.arjunacore.XAResourceRecord@19f76b2d >) 2019-04-02 22:23:46.085 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : XAResourceRecord.topLevelAbort for XAResourceRecord < resource:com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ea9ec74, txid:< formatId=131077, gtrid_length=29, bqual_length=36, tx_uid=0:ffffc0a8000e:f11d:5ca3c4ab:3d, node_name=1, branch_uid=0:ffffc0a8000e:f11d:5ca3c4ab:40, subordinatenodename=null, eis_name=0 >, heuristic: TwoPhaseOutcome.FINISH_OK com.arjuna.ats.internal.jta.resources.arjunacore.XAResourceRecord@19f76b2d >, record id=0:ffffc0a8000e:f11d:5ca3c4ab:41 2019-04-02 22:23:46.663 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::doAbort() result for action-id (0:ffffc0a8000e:f11d:5ca3c4ab:3d) on record id: (0:ffffc0a8000e:f11d:5ca3c4ab:41) is (TwoPhaseOutcome.FINISH_OK) node id: (1) 2019-04-02 22:23:46.663 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : SynchronizationImple.afterCompletion - Class: class org.apache.commons.dbcp2.managed.TransactionContext$1 HashCode: 2040212144 toString: org.apache.commons.dbcp2.managed.TransactionContext$1@799b2ab0 2019-04-02 22:23:46.663 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : SynchronizationImple.afterCompletion - Class: class org.hibernate.resource.transaction.backend.jta.internal.synchronization.RegisteredSynchronization HashCode: 1290650278 toString: org.hibernate.resource.transaction.backend.jta.internal.synchronization.RegisteredSynchronization@4cedc2a6 2019-04-02 22:23:46.663 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::removeChildThread () action 0:ffffc0a8000e:f11d:5ca3c4ab:3d removing 1 2019-04-02 22:23:46.663 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::removeChildThread () action 0:ffffc0a8000e:f11d:5ca3c4ab:3d removing 1 result = true 2019-04-02 22:23:46.663 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : TransactionReaper::remove ( BasicAction: 0:ffffc0a8000e:f11d:5ca3c4ab:3d status: ActionStatus.ABORTED ) 2019-04-02 22:23:46.663 WARN 29568 --- [er[DEV.QUEUE.1]] o.a.c.s.spi.TransactionErrorHandler : Transaction rollback (0x7851c831) redelivered(true) for (MessageId: ID:306fdf1c-5585-11e9-b65d-186590d94cf7 on ExchangeId: ID-vkasala-OSX-1554236593617-0-22) due exchange was marked for rollbackOnly 2019-04-02 22:23:46.664 WARN 29568 --- [er[DEV.QUEUE.1]] o.a.c.c.jms.EndpointMessageListener : Execution of JMS message listener failed. Caused by: [org.apache.camel.RuntimeCamelException - org.apache.camel.RollbackExchangeException: Intended rollback. Exchange[ID-vkasala-OSX-1554236593617-0-22]] 2019-04-02 22:23:46.680 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@7d627a89 2019-04-02 22:23:46.690 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : BaseTransaction.begin 2019-04-02 22:23:46.690 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : StateManager::StateManager( 2, 0 ) 2019-04-02 22:23:46.690 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::BasicAction() 2019-04-02 22:23:46.690 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::Begin() for action-id 0:ffffc0a8000e:f11d:5ca3c4ab:43 2019-04-02 22:23:46.690 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::actionInitialise() for action-id 0:ffffc0a8000e:f11d:5ca3c4ab:43 2019-04-02 22:23:46.690 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : ActionHierarchy::ActionHierarchy(1) 2019-04-02 22:23:46.690 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : ActionHierarchy::add(0:ffffc0a8000e:f11d:5ca3c4ab:43, 1) 2019-04-02 22:23:46.690 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::addChildThread () action 0:ffffc0a8000e:f11d:5ca3c4ab:43 adding Thread[Camel (SpringBootCamelXa) thread #1 - JmsConsumer[DEV.QUEUE.1],5,com.redhat.fuse.quickstarts.Application] 2019-04-02 22:23:46.690 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::addChildThread () action 0:ffffc0a8000e:f11d:5ca3c4ab:43 adding Thread[Camel (SpringBootCamelXa) thread #1 - JmsConsumer[DEV.QUEUE.1],5,com.redhat.fuse.quickstarts.Application] result = true 2019-04-02 22:23:46.690 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : TransactionReaper::insert ( BasicAction: 0:ffffc0a8000e:f11d:5ca3c4ab:43 status: ActionStatus.RUNNING, 60 ) 2019-04-02 22:23:46.690 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : ReaperElement::ReaperElement ( BasicAction: 0:ffffc0a8000e:f11d:5ca3c4ab:43 status: ActionStatus.RUNNING, 60 ) 2019-04-02 22:23:46.690 INFO 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-24 >>> (transactedTargetUnstableWay) from(jms://queue:DEV.QUEUE.1?transacted=true) --> transacted <<< Pattern:InOnly, Headers:{Accept=*/*, breadcrumbId=ID-vkasala-OSX-1554236593617-0-3, CamelHttpCharacterEncoding=UTF-8, CamelHttpMethod=POST, CamelHttpPath=, CamelHttpQuery=entry=2, CamelHttpUri=/api/xa, CamelHttpUrl=http://localhost:8080/api/xa, CamelServletContextPath=/xa, entry=2, Host=localhost:8080, JMSCorrelationID=null, JMSCorrelationIDAsBytes=null, JMSDeliveryMode=2, JMSDestination=ActiveMQQueue[DEV.QUEUE.1], JMSExpiration=0, JMSMessageID=ID:306fdf1c-5585-11e9-b65d-186590d94cf7, JMSPriority=4, JMSRedelivered=true, JMSReplyTo=null, JMSTimestamp=1554236614315, JMSType=null, JMSXDeliveryCount=10, JMSXGroupID=null, JMSXUserID=null, User-Agent=curl/7.54.0}, BodyType:String, Body:Reply XA transaction: 2 2019-04-02 22:23:46.690 INFO 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-24 >>> (transactedTargetUnstableWay) transacted --> log[Processing {message} = ${body}] <<< Pattern:InOnly, Headers:{Accept=*/*, breadcrumbId=ID-vkasala-OSX-1554236593617-0-3, CamelHttpCharacterEncoding=UTF-8, CamelHttpMethod=POST, CamelHttpPath=, CamelHttpQuery=entry=2, CamelHttpUri=/api/xa, CamelHttpUrl=http://localhost:8080/api/xa, CamelServletContextPath=/xa, entry=2, Host=localhost:8080, JMSCorrelationID=null, JMSCorrelationIDAsBytes=null, JMSDeliveryMode=2, JMSDestination=ActiveMQQueue[DEV.QUEUE.1], JMSExpiration=0, JMSMessageID=ID:306fdf1c-5585-11e9-b65d-186590d94cf7, JMSPriority=4, JMSRedelivered=true, JMSReplyTo=null, JMSTimestamp=1554236614315, JMSType=null, JMSXDeliveryCount=10, JMSXGroupID=null, JMSXUserID=null, User-Agent=curl/7.54.0}, BodyType:String, Body:Reply XA transaction: 2 2019-04-02 22:23:46.690 INFO 29568 --- [er[DEV.QUEUE.1]] transactedTargetUnstableWay : Processing {message} = Reply XA transaction: 2 2019-04-02 22:23:46.691 INFO 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-24 >>> (transactedTargetUnstableWay) log[Processing {message} = ${body}] --> ref:toDbMessageProcessor <<< Pattern:InOnly, Headers:{Accept=*/*, breadcrumbId=ID-vkasala-OSX-1554236593617-0-3, CamelHttpCharacterEncoding=UTF-8, CamelHttpMethod=POST, CamelHttpPath=, CamelHttpQuery=entry=2, CamelHttpUri=/api/xa, CamelHttpUrl=http://localhost:8080/api/xa, CamelServletContextPath=/xa, entry=2, Host=localhost:8080, JMSCorrelationID=null, JMSCorrelationIDAsBytes=null, JMSDeliveryMode=2, JMSDestination=ActiveMQQueue[DEV.QUEUE.1], JMSExpiration=0, JMSMessageID=ID:306fdf1c-5585-11e9-b65d-186590d94cf7, JMSPriority=4, JMSRedelivered=true, JMSReplyTo=null, JMSTimestamp=1554236614315, JMSType=null, JMSXDeliveryCount=10, JMSXGroupID=null, JMSXUserID=null, User-Agent=curl/7.54.0}, BodyType:String, Body:Reply XA transaction: 2 2019-04-02 22:23:46.691 INFO 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-24 >>> (transactedTargetUnstableWay) ref:toDbMessageProcessor --> jpa://com.redhat.fuse.quickstarts.DbMessage?flushOnSend=true&usePersist=true <<< Pattern:InOnly, BodyType:com.redhat.fuse.quickstarts.DbMessage, Body:Reply XA transaction: 2 2019-04-02 22:23:46.691 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:46.691 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.registerSynchronization - Class: class org.hibernate.resource.transaction.backend.jta.internal.synchronization.RegisteredSynchronization HashCode: 1846402068 toString: org.hibernate.resource.transaction.backend.jta.internal.synchronization.RegisteredSynchronization@6e0ddc14 2019-04-02 22:23:46.691 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:46.691 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:46.691 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE Hibernate: insert into message (message_text) values (?) 2019-04-02 22:23:46.692 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:46.833 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.registerSynchronization - Class: class org.apache.commons.dbcp2.managed.TransactionContext$1 HashCode: 1845601492 toString: org.apache.commons.dbcp2.managed.TransactionContext$1@6e01a4d4 2019-04-02 22:23:46.834 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.enlistResource ( com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ea9ec74 ) 2019-04-02 22:23:46.834 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:46.834 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : StateManager::StateManager( 1, 0 ) 2019-04-02 22:23:46.834 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : AbstractRecord::AbstractRecord (0:ffffc0a8000e:f11d:5ca3c4ab:47, 1) 2019-04-02 22:23:46.834 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : XAResourceRecord.XAResourceRecord ( < formatId=131077, gtrid_length=29, bqual_length=36, tx_uid=0:ffffc0a8000e:f11d:5ca3c4ab:43, node_name=1, branch_uid=0:ffffc0a8000e:f11d:5ca3c4ab:46, subordinatenodename=null, eis_name=0 >, com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ea9ec74 ), record id=0:ffffc0a8000e:f11d:5ca3c4ab:47 2019-04-02 22:23:47.124 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : RecordList::insert(RecordList: empty) : appending /StateManager/AbstractRecord/XAResourceRecord for 0:ffffc0a8000e:f11d:5ca3c4ab:47 2019-04-02 22:23:47.124 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:47.124 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:47.425 WARN 29568 --- [er[DEV.QUEUE.1]] o.h.engine.jdbc.spi.SqlExceptionHelper : SQL Error: 1062, SQLState: 23000 2019-04-02 22:23:47.425 ERROR 29568 --- [er[DEV.QUEUE.1]] o.h.engine.jdbc.spi.SqlExceptionHelper : Duplicate entry 'Reply XA transaction: 2' for key 'PRIMARY' 2019-04-02 22:23:47.426 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:47.426 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:47.426 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_ACTIVE 2019-04-02 22:23:47.426 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : BaseTransaction.setRollbackOnly 2019-04-02 22:23:47.426 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.setRollbackOnly 2019-04-02 22:23:47.426 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::preventCommit( BasicAction: 0:ffffc0a8000e:f11d:5ca3c4ab:43 status: ActionStatus.RUNNING) 2019-04-02 22:23:47.426 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_MARKED_ROLLBACK 2019-04-02 22:23:47.426 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : BaseTransaction.setRollbackOnly 2019-04-02 22:23:47.426 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.setRollbackOnly 2019-04-02 22:23:47.426 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::preventCommit( BasicAction: 0:ffffc0a8000e:f11d:5ca3c4ab:43 status: ActionStatus.ABORT_ONLY) 2019-04-02 22:23:47.427 INFO 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-24 >>> (transactedTargetUnstableWay) jpa://com.redhat.fuse.quickstarts.DbMessage?flushOnSend=true&usePersist=true --> OnException[PersistenceException] <<< Pattern:InOnly, BodyType:com.redhat.fuse.quickstarts.DbMessage, Body:Reply XA transaction: 2 2019-04-02 22:23:47.427 INFO 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-24 >>> OnException[PersistenceException] --> mock://xaTransactionErr <<< Pattern:InOnly, BodyType:com.redhat.fuse.quickstarts.DbMessage, Body:Reply XA transaction: 2 2019-04-02 22:23:47.427 INFO 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.interceptor.Tracer : ID-vkasala-OSX-1554236593617-0-24 >>> mock://xaTransactionErr --> rollback <<< Pattern:InOnly, BodyType:com.redhat.fuse.quickstarts.DbMessage, Body:Reply XA transaction: 2 2019-04-02 22:23:47.428 WARN 29568 --- [er[DEV.QUEUE.1]] o.a.camel.processor.DefaultErrorHandler : Rollback (MessageId: ID-vkasala-OSX-1554236593617-0-25 on ExchangeId: ID-vkasala-OSX-1554236593617-0-24) due: org.hibernate.exception.ConstraintViolationException: could not execute statement Message History --------------------------------------------------------------------------------------------------------------------------------------- RouteId ProcessorId Processor Elapsed (ms) [transactedTargetUn] [transactedTargetUn] [jms://queue:DEV.QUEUE.1?transacted=true ] [ 739] [transactedTargetUn] [transacted1 ] [transacted ] [ 0] [transactedTargetUn] [log2 ] [log ] [ 0] [transactedTargetUn] [process1 ] [ref:toDbMessageProcessor ] [ 1] [transactedTargetUn] [to4 ] [jpa:com.redhat.fuse.quickstarts.DbMessage?flushOnSend=true&usePersist=true ] [ 0] [transactedTargetUn] [to2 ] [mock:xaTransactionErr ] [ 0] [transactedTargetUn] [rollback1 ] [rollback ] [ 0] 2019-04-02 22:23:47.428 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_MARKED_ROLLBACK 2019-04-02 22:23:47.428 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.getStatus: javax.transaction.Status.STATUS_MARKED_ROLLBACK 2019-04-02 22:23:47.428 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : BaseTransaction.rollback 2019-04-02 22:23:47.429 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : TransactionImple.rollbackAndDisassociate 2019-04-02 22:23:47.429 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::Abort() for action-id 0:ffffc0a8000e:f11d:5ca3c4ab:43 2019-04-02 22:23:47.429 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::doAbort (XAResourceRecord < resource:com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ea9ec74, txid:< formatId=131077, gtrid_length=29, bqual_length=36, tx_uid=0:ffffc0a8000e:f11d:5ca3c4ab:43, node_name=1, branch_uid=0:ffffc0a8000e:f11d:5ca3c4ab:46, subordinatenodename=null, eis_name=0 >, heuristic: TwoPhaseOutcome.FINISH_OK com.arjuna.ats.internal.jta.resources.arjunacore.XAResourceRecord@5d96d475 >) 2019-04-02 22:23:47.429 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : XAResourceRecord.topLevelAbort for XAResourceRecord < resource:com.mysql.jdbc.jdbc2.optional.JDBC4MysqlXAConnection@3ea9ec74, txid:< formatId=131077, gtrid_length=29, bqual_length=36, tx_uid=0:ffffc0a8000e:f11d:5ca3c4ab:43, node_name=1, branch_uid=0:ffffc0a8000e:f11d:5ca3c4ab:46, subordinatenodename=null, eis_name=0 >, heuristic: TwoPhaseOutcome.FINISH_OK com.arjuna.ats.internal.jta.resources.arjunacore.XAResourceRecord@5d96d475 >, record id=0:ffffc0a8000e:f11d:5ca3c4ab:47 2019-04-02 22:23:48.002 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::doAbort() result for action-id (0:ffffc0a8000e:f11d:5ca3c4ab:43) on record id: (0:ffffc0a8000e:f11d:5ca3c4ab:47) is (TwoPhaseOutcome.FINISH_OK) node id: (1) 2019-04-02 22:23:48.003 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : SynchronizationImple.afterCompletion - Class: class org.apache.commons.dbcp2.managed.TransactionContext$1 HashCode: 1845601492 toString: org.apache.commons.dbcp2.managed.TransactionContext$1@6e01a4d4 2019-04-02 22:23:48.003 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : SynchronizationImple.afterCompletion - Class: class org.hibernate.resource.transaction.backend.jta.internal.synchronization.RegisteredSynchronization HashCode: 1846402068 toString: org.hibernate.resource.transaction.backend.jta.internal.synchronization.RegisteredSynchronization@6e0ddc14 2019-04-02 22:23:48.003 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::removeChildThread () action 0:ffffc0a8000e:f11d:5ca3c4ab:43 removing 1 2019-04-02 22:23:48.003 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : BasicAction::removeChildThread () action 0:ffffc0a8000e:f11d:5ca3c4ab:43 removing 1 result = true 2019-04-02 22:23:48.003 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.arjuna : TransactionReaper::remove ( BasicAction: 0:ffffc0a8000e:f11d:5ca3c4ab:43 status: ActionStatus.ABORTED ) 2019-04-02 22:23:48.003 WARN 29568 --- [er[DEV.QUEUE.1]] o.a.c.s.spi.TransactionErrorHandler : Transaction rollback (0x7851c831) redelivered(true) for (MessageId: ID:306fdf1c-5585-11e9-b65d-186590d94cf7 on ExchangeId: ID-vkasala-OSX-1554236593617-0-24) due exchange was marked for rollbackOnly 2019-04-02 22:23:48.003 WARN 29568 --- [er[DEV.QUEUE.1]] o.a.c.c.jms.EndpointMessageListener : Execution of JMS message listener failed. Caused by: [org.apache.camel.RuntimeCamelException - org.apache.camel.RollbackExchangeException: Intended rollback. Exchange[ID-vkasala-OSX-1554236593617-0-24]] 2019-04-02 22:23:48.025 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@269ccb03 2019-04-02 22:23:49.159 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@785a7768 2019-04-02 22:23:50.205 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@3cbe754c 2019-04-02 22:23:51.342 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@1fded1c 2019-04-02 22:23:52.376 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@7e059e56 2019-04-02 22:23:53.405 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@19fc0bbd 2019-04-02 22:23:54.430 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@8fa9f65 2019-04-02 22:23:55.471 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@3e2bf7a1 2019-04-02 22:23:56.501 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@18add673 2019-04-02 22:23:57.636 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@2ab20370 2019-04-02 22:23:58.769 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@5c92d089 2019-04-02 22:23:59.811 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@42895d63 2019-04-02 22:24:00.857 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@58c66ec4 2019-04-02 22:24:01.885 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@334f3255 2019-04-02 22:24:03.019 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@406d17a2 2019-04-02 22:24:04.050 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@39c40cf5 2019-04-02 22:24:05.179 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@157b4795 2019-04-02 22:24:06.206 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@7af08a69 2019-04-02 22:24:07.236 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@58674d7 2019-04-02 22:24:08.266 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@2f911092 2019-04-02 22:24:09.299 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@75b9ac8b 2019-04-02 22:24:10.431 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@13019dd4 2019-04-02 22:24:11.481 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@41afef04 2019-04-02 22:24:12.506 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@7bdf5f61 2019-04-02 22:24:13.529 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@58a496b7 2019-04-02 22:24:14.556 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@6c3ee912 2019-04-02 22:24:15.584 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@27630c38 2019-04-02 22:24:16.614 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@3347557e 2019-04-02 22:24:17.640 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@720d10a6 2019-04-02 22:24:18.680 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@7bb067dc 2019-04-02 22:24:19.703 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@7db89abc 2019-04-02 22:24:20.728 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@4293f5ec 2019-04-02 22:24:21.776 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@59df177 2019-04-02 22:24:22.806 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@60b1f4d3 2019-04-02 22:24:23.835 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@4e89802c 2019-04-02 22:24:24.864 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@4ce781a3 2019-04-02 22:24:25.892 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@40999fc0 2019-04-02 22:24:26.917 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@56f874bf 2019-04-02 22:24:27.946 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@18d3eb8f 2019-04-02 22:24:28.975 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@4041df14 2019-04-02 22:24:30.000 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@41082a8e 2019-04-02 22:24:31.028 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@10714f50 2019-04-02 22:24:32.068 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@7a6ceeb8 2019-04-02 22:24:33.097 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@15b45736 2019-04-02 22:24:34.123 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@721626e8 2019-04-02 22:24:34.353 TRACE 29568 --- [nsaction Reaper] com.arjuna.ats.arjuna : ReaperThread.run () 2019-04-02 22:24:34.354 TRACE 29568 --- [nsaction Reaper] com.arjuna.ats.arjuna : TransactionReaper::check () 2019-04-02 22:24:34.354 TRACE 29568 --- [nsaction Reaper] com.arjuna.ats.arjuna : TransactionReaper::check - comparing 1554236674351 2019-04-02 22:24:34.354 TRACE 29568 --- [nsaction Reaper] com.arjuna.ats.arjuna : Thread Thread[Transaction Reaper,5,com.redhat.fuse.quickstarts.Application] sleeping for 9223370482618101453 2019-04-02 22:24:35.152 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@e5d21f1 2019-04-02 22:24:36.180 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@15ac90bb 2019-04-02 22:24:37.204 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@1491fcc8 2019-04-02 22:24:38.234 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@985216f 2019-04-02 22:24:39.260 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@74313621 2019-04-02 22:24:40.287 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@2e42f7a4 2019-04-02 22:24:41.311 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@2b02e061 2019-04-02 22:24:42.346 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@193e260f 2019-04-02 22:24:43.376 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@22d1013a 2019-04-02 22:24:44.406 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@74337156 2019-04-02 22:24:45.431 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@3464d0f4 2019-04-02 22:24:46.456 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@1bfe4da9 2019-04-02 22:24:47.485 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@14679767 2019-04-02 22:24:48.515 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@6b27022e 2019-04-02 22:24:49.541 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@4bfeb4b9 2019-04-02 22:24:50.565 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@fa55471 2019-04-02 22:24:51.590 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@3b4be54 2019-04-02 22:24:52.630 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@473f1154 2019-04-02 22:24:53.659 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@53c9f229 2019-04-02 22:24:54.692 TRACE 29568 --- [er[DEV.QUEUE.1]] com.arjuna.ats.jta : Created new proxied connection: org.jboss.narayana.jta.jms.ConnectionProxy@39fc514f ^C2019-04-02 22:24:54.761 INFO 29568 --- [ Thread-2] ationConfigEmbeddedWebApplicationContext : Closing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@1d4439c0: startup date [Tue Apr 02 22:23:04 CEST 2019]; root of context hierarchy 2019-04-02 22:24:54.761 DEBUG 29568 --- [ Listener:61755] com.arjuna.ats.arjuna : Recovery listener existing com.arjuna.ats.arjuna.recovery.ActionStatusService 2019-04-02 22:24:54.761 TRACE 29568 --- [ Thread-3] com.arjuna.ats.arjuna : FileSystemStore.remove_committed(0:ffffc0a8000e:f11d:5ca3c4ab:6, /Recovery/TransactionStatusManager) 2019-04-02 22:24:54.761 TRACE 29568 --- [ Thread-3] com.arjuna.ats.arjuna : ShadowingStore.remove_state(0:ffffc0a8000e:f11d:5ca3c4ab:6, /Recovery/TransactionStatusManager, StateType.OS_ORIGINAL) 2019-04-02 22:24:54.761 TRACE 29568 --- [ Thread-3] com.arjuna.ats.arjuna : ShadowingStore.genPathName(0:ffffc0a8000e:f11d:5ca3c4ab:6, /Recovery/TransactionStatusManager, StateType.OS_SHADOW) 2019-04-02 22:24:54.761 TRACE 29568 --- [ Thread-3] com.arjuna.ats.arjuna : FileSystemStore.genPathName(0:ffffc0a8000e:f11d:5ca3c4ab:6, /Recovery/TransactionStatusManager, 10) 2019-04-02 22:24:54.761 TRACE 29568 --- [ Thread-3] com.arjuna.ats.arjuna : ShadowingStore.genPathName(0:ffffc0a8000e:f11d:5ca3c4ab:6, /Recovery/TransactionStatusManager, StateType.OS_ORIGINAL) 2019-04-02 22:24:54.761 TRACE 29568 --- [ Thread-3] com.arjuna.ats.arjuna : FileSystemStore.genPathName(0:ffffc0a8000e:f11d:5ca3c4ab:6, /Recovery/TransactionStatusManager, 11) 2019-04-02 22:24:54.762 TRACE 29568 --- [ Thread-3] com.arjuna.ats.arjuna : ShadowingStore.currentState(0:ffffc0a8000e:f11d:5ca3c4ab:6, /Recovery/TransactionStatusManager) - returning StateStatus.OS_COMMITTED 2019-04-02 22:24:54.762 TRACE 29568 --- [ Thread-3] com.arjuna.ats.arjuna : ShadowingStore.genPathName(0:ffffc0a8000e:f11d:5ca3c4ab:6, /Recovery/TransactionStatusManager, StateType.OS_ORIGINAL) 2019-04-02 22:24:54.762 TRACE 29568 --- [ Thread-3] com.arjuna.ats.arjuna : FileSystemStore.genPathName(0:ffffc0a8000e:f11d:5ca3c4ab:6, /Recovery/TransactionStatusManager, 11) 2019-04-02 22:24:54.762 TRACE 29568 --- [ Thread-3] com.arjuna.ats.arjuna : FileSystemStore.openAndLock(./target/tx/store/spring-boot-camel-xa-0/ShadowNoFileLockStore/defaultStore/Recovery/TransactionStatusManager/0_ffffc0a8000e_f11d_5ca3c4ab_6, FileLock.F_WRLCK, false) 2019-04-02 22:24:54.762 TRACE 29568 --- [ Thread-3] com.arjuna.ats.arjuna : FileSystemStore.closeAndUnlock(./target/tx/store/spring-boot-camel-xa-0/ShadowNoFileLockStore/defaultStore/Recovery/TransactionStatusManager/0_ffffc0a8000e_f11d_5ca3c4ab_6, null, null) 2019-04-02 22:24:54.763 INFO 29568 --- [ Thread-2] o.s.c.support.DefaultLifecycleProcessor : Stopping beans in phase 2147483647 2019-04-02 22:24:54.763 INFO 29568 --- [ Thread-2] o.s.c.support.DefaultLifecycleProcessor : Stopping beans in phase 2147483646 2019-04-02 22:24:54.763 INFO 29568 --- [ Thread-2] o.a.camel.spring.SpringCamelContext : Apache Camel 2.21.0.fuse-730067-redhat-00001 (CamelContext: SpringBootCamelXa) is shutting down 2019-04-02 22:24:54.764 INFO 29568 --- [ Thread-2] o.a.camel.impl.DefaultShutdownStrategy : Starting to graceful shutdown 4 routes (timeout 300 seconds) 2019-04-02 22:24:54.770 INFO 29568 --- [ - ShutdownTask] o.a.camel.impl.DefaultShutdownStrategy : Route: route2 shutdown complete, was consuming from: servlet:/xa?httpMethodRestrict=POST 2019-04-02 22:24:55.719 INFO 29568 --- [ - ShutdownTask] o.a.camel.impl.DefaultShutdownStrategy : Route: transactedTargetUnstableWay shutdown complete, was consuming from: jms://queue:DEV.QUEUE.1?transacted=true 2019-04-02 22:24:55.719 INFO 29568 --- [ - ShutdownTask] o.a.camel.impl.DefaultShutdownStrategy : Route: transactedSource shutdown complete, was consuming from: direct://xaTransaction 2019-04-02 22:24:55.719 INFO 29568 --- [ - ShutdownTask] o.a.camel.impl.DefaultShutdownStrategy : Route: route1 shutdown complete, was consuming from: servlet:/?httpMethodRestrict=GET 2019-04-02 22:24:55.719 INFO 29568 --- [ Thread-2] o.a.camel.impl.DefaultShutdownStrategy : Graceful shutdown of 4 routes completed in 0 seconds 2019-04-02 22:24:55.733 INFO 29568 --- [ Thread-2] o.a.camel.spring.SpringCamelContext : Apache Camel 2.21.0.fuse-730067-redhat-00001 (CamelContext: SpringBootCamelXa) uptime 1 minute 2019-04-02 22:24:55.734 INFO 29568 --- [ Thread-2] o.a.camel.spring.SpringCamelContext : Apache Camel 2.21.0.fuse-730067-redhat-00001 (CamelContext: SpringBootCamelXa) is shutdown in 0.970 seconds 2019-04-02 22:24:55.734 INFO 29568 --- [ Thread-2] o.s.c.support.DefaultLifecycleProcessor : Stopping beans in phase 0 2019-04-02 22:24:55.735 INFO 29568 --- [ Thread-2] o.s.j.e.a.AnnotationMBeanExporter : Unregistering JMX-exposed beans on shutdown 2019-04-02 22:24:55.735 INFO 29568 --- [ Thread-2] o.s.j.e.a.AnnotationMBeanExporter : Unregistering JMX-exposed beans 2019-04-02 22:24:55.739 INFO 29568 --- [ Thread-2] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 2019-04-02 22:24:55.740 INFO 29568 --- [ Thread-2] .SchemaDropperImpl$DelayedDropActionImpl : HHH000477: Starting delayed evictData of schema as part of SessionFactory shut-down' 2019-04-02 22:24:55.740 TRACE 29568 --- [ Thread-2] com.arjuna.ats.jta : TransactionImpleManager.suspend Hibernate: drop table if exists message 2019-04-02 22:24:56.457 WARN 29568 --- [ Thread-2] o.apache.commons.dbcp2.BasicDataSource : Failed to unregister the JMX name: org.apache.commons.dbcp2.managed:name=dataSource,type=BasicManagedDataSource javax.management.InstanceNotFoundException: org.apache.commons.dbcp2.managed:name=dataSource,type=BasicManagedDataSource at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1095) ~[na:1.8.0_151] at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.exclusiveUnregisterMBean(DefaultMBeanServerInterceptor.java:427) ~[na:1.8.0_151] at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.unregisterMBean(DefaultMBeanServerInterceptor.java:415) ~[na:1.8.0_151] at com.sun.jmx.mbeanserver.JmxMBeanServer.unregisterMBean(JmxMBeanServer.java:546) ~[na:1.8.0_151] at org.apache.commons.dbcp2.BasicDataSource.close(BasicDataSource.java:1917) ~[commons-dbcp2-2.1.1.jar:2.1.1] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_151] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_151] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_151] at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_151] at org.springframework.beans.factory.support.DisposableBeanAdapter.invokeCustomDestroyMethod(DisposableBeanAdapter.java:364) [spring-beans-4.3.20.RELEASE.jar:4.3.20.RELEASE] at org.springframework.beans.factory.support.DisposableBeanAdapter.destroy(DisposableBeanAdapter.java:287) [spring-beans-4.3.20.RELEASE.jar:4.3.20.RELEASE] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroyBean(DefaultSingletonBeanRegistry.java:583) [spring-beans-4.3.20.RELEASE.jar:4.3.20.RELEASE] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingleton(DefaultSingletonBeanRegistry.java:555) [spring-beans-4.3.20.RELEASE.jar:4.3.20.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingleton(DefaultListableBeanFactory.java:959) [spring-beans-4.3.20.RELEASE.jar:4.3.20.RELEASE] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingletons(DefaultSingletonBeanRegistry.java:516) [spring-beans-4.3.20.RELEASE.jar:4.3.20.RELEASE] at org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingletons(DefaultListableBeanFactory.java:966) [spring-beans-4.3.20.RELEASE.jar:4.3.20.RELEASE] at org.springframework.context.support.AbstractApplicationContext.destroyBeans(AbstractApplicationContext.java:1032) [spring-context-4.3.20.RELEASE.jar:4.3.20.RELEASE] at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:1008) [spring-context-4.3.20.RELEASE.jar:4.3.20.RELEASE] at org.springframework.context.support.AbstractApplicationContext$2.run(AbstractApplicationContext.java:929) [spring-context-4.3.20.RELEASE.jar:4.3.20.RELEASE]