Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.21.0
-
None
-
Unknown
Description
I using the new Claim Check EIP (great new features by the way) in a Spring Boot 1.5.10 application.
The EIP works fine, but on application start-up these warnings are logged:
2018-03-16 11:28:50.418 INFO 16020 --- [ restartedMain] o.a.c.m.ManagedManagementStrategy : JMX is enabled 2018-03-16 11:28:51.037 WARN 16020 --- [ restartedMain] o.a.c.m.ManagedManagementStrategy : Cannot check whether the managed object is registered. This exception will be ignored. java.lang.ClassCastException: org.apache.camel.model.ClaimCheckDefinition cannot be cast to org.apache.camel.model.ExpressionNode at org.apache.camel.management.mbean.ManagedClaimCheck.getDefinition(ManagedClaimCheck.java:40) ~[camel-core-2.21.0.jar:2.21.0] at org.apache.camel.management.mbean.ManagedClaimCheck.getDefinition(ManagedClaimCheck.java:29) ~[camel-core-2.21.0.jar:2.21.0] at org.apache.camel.management.ManagedManagementStrategy.getManagedObjectName(ManagedManagementStrategy.java:122) ~[camel-core-2.21.0.jar:2.21.0] at org.apache.camel.management.ManagedManagementStrategy.getObjectName(ManagedManagementStrategy.java:198) ~[camel-core-2.21.0.jar:2.21.0] at org.apache.camel.management.ManagedManagementStrategy.isManaged(ManagedManagementStrategy.java:174) ~[camel-core-2.21.0.jar:2.21.0] at org.apache.camel.management.DefaultManagementLifecycleStrategy.onServiceAdd(DefaultManagementLifecycleStrategy.java:437) [camel-core-2.21.0.jar:2.21.0] at org.apache.camel.impl.RouteService.startChildService(RouteService.java:368) [camel-core-2.21.0.jar:2.21.0] at org.apache.camel.impl.RouteService.doWarmUp(RouteService.java:196) [camel-core-2.21.0.jar:2.21.0] at org.apache.camel.impl.RouteService.warmUp(RouteService.java:145) [camel-core-2.21.0.jar:2.21.0] at org.apache.camel.impl.DefaultCamelContext.doWarmUpRoutes(DefaultCamelContext.java:3947) [camel-core-2.21.0.jar:2.21.0] at org.apache.camel.impl.DefaultCamelContext.safelyStartRouteServices(DefaultCamelContext.java:3854) [camel-core-2.21.0.jar:2.21.0] at org.apache.camel.impl.DefaultCamelContext.doStartOrResumeRoutes(DefaultCamelContext.java:3640) [camel-core-2.21.0.jar:2.21.0] at org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelContext.java:3492) [camel-core-2.21.0.jar:2.21.0] at org.apache.camel.impl.DefaultCamelContext.access$000(DefaultCamelContext.java:209) [camel-core-2.21.0.jar:2.21.0] at org.apache.camel.impl.DefaultCamelContext$2.call(DefaultCamelContext.java:3251) [camel-core-2.21.0.jar:2.21.0] at org.apache.camel.impl.DefaultCamelContext$2.call(DefaultCamelContext.java:3247) [camel-core-2.21.0.jar:2.21.0] at org.apache.camel.impl.DefaultCamelContext.doWithDefinedClassLoader(DefaultCamelContext.java:3270) [camel-core-2.21.0.jar:2.21.0] at org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:3247) [camel-core-2.21.0.jar:2.21.0] at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61) [camel-core-2.21.0.jar:2.21.0] at org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:3163) [camel-core-2.21.0.jar:2.21.0] at org.apache.camel.spring.SpringCamelContext.start(SpringCamelContext.java:133) [camel-spring-2.21.0.jar:2.21.0] at org.apache.camel.spring.SpringCamelContext.onApplicationEvent(SpringCamelContext.java:174) [camel-spring-2.21.0.jar:2.21.0] at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172) [spring-context-4.3.14.RELEASE.jar:4.3.14.RELEASE] at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165) [spring-context-4.3.14.RELEASE.jar:4.3.14.RELEASE] at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139) [spring-context-4.3.14.RELEASE.jar:4.3.14.RELEASE] at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:393) [spring-context-4.3.14.RELEASE.jar:4.3.14.RELEASE] at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:347) [spring-context-4.3.14.RELEASE.jar:4.3.14.RELEASE] at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:883) [spring-context-4.3.14.RELEASE.jar:4.3.14.RELEASE] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:546) [spring-context-4.3.14.RELEASE.jar:4.3.14.RELEASE] at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:693) [spring-boot-1.5.10.RELEASE.jar:1.5.10.RELEASE] at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:360) [spring-boot-1.5.10.RELEASE.jar:1.5.10.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:303) [spring-boot-1.5.10.RELEASE.jar:1.5.10.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1118) [spring-boot-1.5.10.RELEASE.jar:1.5.10.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1107) [spring-boot-1.5.10.RELEASE.jar:1.5.10.RELEASE] at company.Application.main(Application.java:10) [classes/:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_121] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_121] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_121] at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_121] at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49) [spring-boot-devtools-1.5.10.RELEASE.jar:1.5.10.RELEASE] 2018-03-16 11:28:51.038 WARN 16020 --- [ restartedMain] a.c.m.DefaultManagementLifecycleStrategy : Could not register service: ClaimCheck[Push] as Service MBean. java.lang.ClassCastException: org.apache.camel.model.ClaimCheckDefinition cannot be cast to org.apache.camel.model.ExpressionNode at org.apache.camel.management.mbean.ManagedClaimCheck.getDefinition(ManagedClaimCheck.java:40) ~[camel-core-2.21.0.jar:2.21.0] at org.apache.camel.management.mbean.ManagedClaimCheck.getDefinition(ManagedClaimCheck.java:29) ~[camel-core-2.21.0.jar:2.21.0] at org.apache.camel.management.ManagedManagementStrategy.getManagedObjectName(ManagedManagementStrategy.java:122) ~[camel-core-2.21.0.jar:2.21.0] at org.apache.camel.management.ManagedManagementStrategy.getObjectName(ManagedManagementStrategy.java:198) ~[camel-core-2.21.0.jar:2.21.0] at org.apache.camel.management.ManagedManagementStrategy.manageNamedObject(ManagedManagementStrategy.java:78) ~[camel-core-2.21.0.jar:2.21.0] at org.apache.camel.management.ManagedManagementStrategy.manageObject(ManagedManagementStrategy.java:74) ~[camel-core-2.21.0.jar:2.21.0] at org.apache.camel.management.DefaultManagementLifecycleStrategy.manageObject(DefaultManagementLifecycleStrategy.java:894) ~[camel-core-2.21.0.jar:2.21.0] at org.apache.camel.management.DefaultManagementLifecycleStrategy.onServiceAdd(DefaultManagementLifecycleStrategy.java:443) ~[camel-core-2.21.0.jar:2.21.0] at org.apache.camel.impl.RouteService.startChildService(RouteService.java:368) [camel-core-2.21.0.jar:2.21.0] at org.apache.camel.impl.RouteService.doWarmUp(RouteService.java:196) [camel-core-2.21.0.jar:2.21.0] at org.apache.camel.impl.RouteService.warmUp(RouteService.java:145) [camel-core-2.21.0.jar:2.21.0] at org.apache.camel.impl.DefaultCamelContext.doWarmUpRoutes(DefaultCamelContext.java:3947) [camel-core-2.21.0.jar:2.21.0] at org.apache.camel.impl.DefaultCamelContext.safelyStartRouteServices(DefaultCamelContext.java:3854) [camel-core-2.21.0.jar:2.21.0] at org.apache.camel.impl.DefaultCamelContext.doStartOrResumeRoutes(DefaultCamelContext.java:3640) [camel-core-2.21.0.jar:2.21.0] at org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelContext.java:3492) [camel-core-2.21.0.jar:2.21.0] at org.apache.camel.impl.DefaultCamelContext.access$000(DefaultCamelContext.java:209) [camel-core-2.21.0.jar:2.21.0] at org.apache.camel.impl.DefaultCamelContext$2.call(DefaultCamelContext.java:3251) [camel-core-2.21.0.jar:2.21.0] at org.apache.camel.impl.DefaultCamelContext$2.call(DefaultCamelContext.java:3247) [camel-core-2.21.0.jar:2.21.0] at org.apache.camel.impl.DefaultCamelContext.doWithDefinedClassLoader(DefaultCamelContext.java:3270) [camel-core-2.21.0.jar:2.21.0] at org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:3247) [camel-core-2.21.0.jar:2.21.0] at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61) [camel-core-2.21.0.jar:2.21.0] at org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:3163) [camel-core-2.21.0.jar:2.21.0] at org.apache.camel.spring.SpringCamelContext.start(SpringCamelContext.java:133) [camel-spring-2.21.0.jar:2.21.0] at org.apache.camel.spring.SpringCamelContext.onApplicationEvent(SpringCamelContext.java:174) [camel-spring-2.21.0.jar:2.21.0] at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172) [spring-context-4.3.14.RELEASE.jar:4.3.14.RELEASE] at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165) [spring-context-4.3.14.RELEASE.jar:4.3.14.RELEASE] at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139) [spring-context-4.3.14.RELEASE.jar:4.3.14.RELEASE] at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:393) [spring-context-4.3.14.RELEASE.jar:4.3.14.RELEASE] at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:347) [spring-context-4.3.14.RELEASE.jar:4.3.14.RELEASE] at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:883) [spring-context-4.3.14.RELEASE.jar:4.3.14.RELEASE] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:546) [spring-context-4.3.14.RELEASE.jar:4.3.14.RELEASE] at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:693) [spring-boot-1.5.10.RELEASE.jar:1.5.10.RELEASE] at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:360) [spring-boot-1.5.10.RELEASE.jar:1.5.10.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:303) [spring-boot-1.5.10.RELEASE.jar:1.5.10.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1118) [spring-boot-1.5.10.RELEASE.jar:1.5.10.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1107) [spring-boot-1.5.10.RELEASE.jar:1.5.10.RELEASE] at company.Application.main(Application.java:10) [classes/:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_121] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_121] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_121] at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_121] at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49) [spring-boot-devtools-1.5.10.RELEASE.jar:1.5.10.RELEASE] 2018-03-16 11:28:51.042 WARN 16020 --- [ restartedMain] o.a.c.m.ManagedManagementStrategy : Cannot check whether the managed object is registered. This exception will be ignored. java.lang.ClassCastException: org.apache.camel.model.ClaimCheckDefinition cannot be cast to org.apache.camel.model.ExpressionNode at org.apache.camel.management.mbean.ManagedClaimCheck.getDefinition(ManagedClaimCheck.java:40) ~[camel-core-2.21.0.jar:2.21.0] at org.apache.camel.management.mbean.ManagedClaimCheck.getDefinition(ManagedClaimCheck.java:29) ~[camel-core-2.21.0.jar:2.21.0] at org.apache.camel.management.ManagedManagementStrategy.getManagedObjectName(ManagedManagementStrategy.java:122) ~[camel-core-2.21.0.jar:2.21.0] at org.apache.camel.management.ManagedManagementStrategy.getObjectName(ManagedManagementStrategy.java:198) ~[camel-core-2.21.0.jar:2.21.0] at org.apache.camel.management.ManagedManagementStrategy.isManaged(ManagedManagementStrategy.java:174) ~[camel-core-2.21.0.jar:2.21.0] at org.apache.camel.management.DefaultManagementLifecycleStrategy.onServiceAdd(DefaultManagementLifecycleStrategy.java:437) [camel-core-2.21.0.jar:2.21.0] at org.apache.camel.impl.RouteService.startChildService(RouteService.java:368) [camel-core-2.21.0.jar:2.21.0] at org.apache.camel.impl.RouteService.doWarmUp(RouteService.java:196) [camel-core-2.21.0.jar:2.21.0] at org.apache.camel.impl.RouteService.warmUp(RouteService.java:145) [camel-core-2.21.0.jar:2.21.0] at org.apache.camel.impl.DefaultCamelContext.doWarmUpRoutes(DefaultCamelContext.java:3947) [camel-core-2.21.0.jar:2.21.0] at org.apache.camel.impl.DefaultCamelContext.safelyStartRouteServices(DefaultCamelContext.java:3854) [camel-core-2.21.0.jar:2.21.0] at org.apache.camel.impl.DefaultCamelContext.doStartOrResumeRoutes(DefaultCamelContext.java:3640) [camel-core-2.21.0.jar:2.21.0] at org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelContext.java:3492) [camel-core-2.21.0.jar:2.21.0] at org.apache.camel.impl.DefaultCamelContext.access$000(DefaultCamelContext.java:209) [camel-core-2.21.0.jar:2.21.0] at org.apache.camel.impl.DefaultCamelContext$2.call(DefaultCamelContext.java:3251) [camel-core-2.21.0.jar:2.21.0] at org.apache.camel.impl.DefaultCamelContext$2.call(DefaultCamelContext.java:3247) [camel-core-2.21.0.jar:2.21.0] at org.apache.camel.impl.DefaultCamelContext.doWithDefinedClassLoader(DefaultCamelContext.java:3270) [camel-core-2.21.0.jar:2.21.0] at org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:3247) [camel-core-2.21.0.jar:2.21.0] at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61) [camel-core-2.21.0.jar:2.21.0] at org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:3163) [camel-core-2.21.0.jar:2.21.0] at org.apache.camel.spring.SpringCamelContext.start(SpringCamelContext.java:133) [camel-spring-2.21.0.jar:2.21.0] at org.apache.camel.spring.SpringCamelContext.onApplicationEvent(SpringCamelContext.java:174) [camel-spring-2.21.0.jar:2.21.0] at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172) [spring-context-4.3.14.RELEASE.jar:4.3.14.RELEASE] at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165) [spring-context-4.3.14.RELEASE.jar:4.3.14.RELEASE] at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139) [spring-context-4.3.14.RELEASE.jar:4.3.14.RELEASE] at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:393) [spring-context-4.3.14.RELEASE.jar:4.3.14.RELEASE] at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:347) [spring-context-4.3.14.RELEASE.jar:4.3.14.RELEASE] at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:883) [spring-context-4.3.14.RELEASE.jar:4.3.14.RELEASE] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:546) [spring-context-4.3.14.RELEASE.jar:4.3.14.RELEASE] at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:693) [spring-boot-1.5.10.RELEASE.jar:1.5.10.RELEASE] at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:360) [spring-boot-1.5.10.RELEASE.jar:1.5.10.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:303) [spring-boot-1.5.10.RELEASE.jar:1.5.10.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1118) [spring-boot-1.5.10.RELEASE.jar:1.5.10.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1107) [spring-boot-1.5.10.RELEASE.jar:1.5.10.RELEASE] at company.Application.main(Application.java:10) [classes/:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_121] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_121] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_121] at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_121] at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49) [spring-boot-devtools-1.5.10.RELEASE.jar:1.5.10.RELEASE] 2018-03-16 11:28:51.042 WARN 16020 --- [ restartedMain] a.c.m.DefaultManagementLifecycleStrategy : Could not register service: ClaimCheck[Pop] as Service MBean. java.lang.ClassCastException: org.apache.camel.model.ClaimCheckDefinition cannot be cast to org.apache.camel.model.ExpressionNode at org.apache.camel.management.mbean.ManagedClaimCheck.getDefinition(ManagedClaimCheck.java:40) ~[camel-core-2.21.0.jar:2.21.0] at org.apache.camel.management.mbean.ManagedClaimCheck.getDefinition(ManagedClaimCheck.java:29) ~[camel-core-2.21.0.jar:2.21.0] at org.apache.camel.management.ManagedManagementStrategy.getManagedObjectName(ManagedManagementStrategy.java:122) ~[camel-core-2.21.0.jar:2.21.0] at org.apache.camel.management.ManagedManagementStrategy.getObjectName(ManagedManagementStrategy.java:198) ~[camel-core-2.21.0.jar:2.21.0] at org.apache.camel.management.ManagedManagementStrategy.manageNamedObject(ManagedManagementStrategy.java:78) ~[camel-core-2.21.0.jar:2.21.0] at org.apache.camel.management.ManagedManagementStrategy.manageObject(ManagedManagementStrategy.java:74) ~[camel-core-2.21.0.jar:2.21.0] at org.apache.camel.management.DefaultManagementLifecycleStrategy.manageObject(DefaultManagementLifecycleStrategy.java:894) ~[camel-core-2.21.0.jar:2.21.0] at org.apache.camel.management.DefaultManagementLifecycleStrategy.onServiceAdd(DefaultManagementLifecycleStrategy.java:443) ~[camel-core-2.21.0.jar:2.21.0] at org.apache.camel.impl.RouteService.startChildService(RouteService.java:368) [camel-core-2.21.0.jar:2.21.0] at org.apache.camel.impl.RouteService.doWarmUp(RouteService.java:196) [camel-core-2.21.0.jar:2.21.0] at org.apache.camel.impl.RouteService.warmUp(RouteService.java:145) [camel-core-2.21.0.jar:2.21.0] at org.apache.camel.impl.DefaultCamelContext.doWarmUpRoutes(DefaultCamelContext.java:3947) [camel-core-2.21.0.jar:2.21.0] at org.apache.camel.impl.DefaultCamelContext.safelyStartRouteServices(DefaultCamelContext.java:3854) [camel-core-2.21.0.jar:2.21.0] at org.apache.camel.impl.DefaultCamelContext.doStartOrResumeRoutes(DefaultCamelContext.java:3640) [camel-core-2.21.0.jar:2.21.0] at org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelContext.java:3492) [camel-core-2.21.0.jar:2.21.0] at org.apache.camel.impl.DefaultCamelContext.access$000(DefaultCamelContext.java:209) [camel-core-2.21.0.jar:2.21.0] at org.apache.camel.impl.DefaultCamelContext$2.call(DefaultCamelContext.java:3251) [camel-core-2.21.0.jar:2.21.0] at org.apache.camel.impl.DefaultCamelContext$2.call(DefaultCamelContext.java:3247) [camel-core-2.21.0.jar:2.21.0] at org.apache.camel.impl.DefaultCamelContext.doWithDefinedClassLoader(DefaultCamelContext.java:3270) [camel-core-2.21.0.jar:2.21.0] at org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:3247) [camel-core-2.21.0.jar:2.21.0] at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61) [camel-core-2.21.0.jar:2.21.0] at org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:3163) [camel-core-2.21.0.jar:2.21.0] at org.apache.camel.spring.SpringCamelContext.start(SpringCamelContext.java:133) [camel-spring-2.21.0.jar:2.21.0] at org.apache.camel.spring.SpringCamelContext.onApplicationEvent(SpringCamelContext.java:174) [camel-spring-2.21.0.jar:2.21.0] at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172) [spring-context-4.3.14.RELEASE.jar:4.3.14.RELEASE] at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165) [spring-context-4.3.14.RELEASE.jar:4.3.14.RELEASE] at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139) [spring-context-4.3.14.RELEASE.jar:4.3.14.RELEASE] at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:393) [spring-context-4.3.14.RELEASE.jar:4.3.14.RELEASE] at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:347) [spring-context-4.3.14.RELEASE.jar:4.3.14.RELEASE] at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:883) [spring-context-4.3.14.RELEASE.jar:4.3.14.RELEASE] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:546) [spring-context-4.3.14.RELEASE.jar:4.3.14.RELEASE] at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:693) [spring-boot-1.5.10.RELEASE.jar:1.5.10.RELEASE] at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:360) [spring-boot-1.5.10.RELEASE.jar:1.5.10.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:303) [spring-boot-1.5.10.RELEASE.jar:1.5.10.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1118) [spring-boot-1.5.10.RELEASE.jar:1.5.10.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1107) [spring-boot-1.5.10.RELEASE.jar:1.5.10.RELEASE] at company.Application.main(Application.java:10) [classes/:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_121] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_121] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_121] at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_121] at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49) [spring-boot-devtools-1.5.10.RELEASE.jar:1.5.10.RELEASE]
My (simplified) route:
from(IN_URL) .claimCheck(ClaimCheckOperation.Push, null, "body") .to(SMPP_ENDPOINT_URL) .claimCheck(ClaimCheckOperation.Pop) .to(ExchangePattern.InOnly, OUT_URL);