Hi
My payload is String object, i send the payload on in memory channel and then to filter which calls service which determine if the payload message should be sent to another (jms) channel.
However sometimes randomly instead of string object in the filterService.process method i receive as payload the return object of the myBeanImpl.startMe method.
No idea what is happening, any help will be appreciated.
Code:<int:publishing-interceptor id="interceptor" default-channel="inMemoryChannel"> <int:method pattern="startMe" payload="#args.dto.id + ',' + #args.dto.name" /> </int:publishing-interceptor> <aop:config> <aop:advisor advice-ref="interceptor" pointcut="bean(myBeanImpl)" /> </aop:config> <int:filter input-channel="inMemoryChannel" output-channel="filteredChannel" throw-exception-on-rejection="false" expression="@filterService.process(payload)" />


Reply With Quote