In my routing messages pass myBean twice. Once I have: ... //some code .process(myBean) ... //some code .method("myBean", "myMethod") ... //some code
This bean have to be synchronized. I whould like just to add key word: 'synchronized' to methods: 'myMethod' and 'process', but those mehods are invoked by framewok itself (Camel), so I'm a bit afraid if I can do that without any consequences. I do not know how exaclly Camel works. So can I add to those methods word 'synchronized', and what problems can I come across? -- View this message in context: http://camel.465427.n5.nabble.com/Apache-Camel-and-Synchronized-methods-in-processor-tp5742401.html Sent from the Camel - Users mailing list archive at Nabble.com.