-
1. Re: ErrorHandler on route vs component problem
dinesh_gioe Aug 20, 2009 3:05 AM (in response to bobyetman)Rob,
Can you attach the exported FUSE MR configuration file?
-
2. Re: ErrorHandler on route vs component problem
bobyetman Aug 20, 2009 7:58 AM (in response to dinesh_gioe)Unfortunately, I can't attach the diagram-camel.xml, Here's an abbreviated version:
-
3. Re: ErrorHandler on route vs component problem
davsclaus Aug 20, 2009 9:06 AM (in response to bobyetman)Try putting TestErrorHandler bean in the same XML file as the Camel just to check whether there is something odd with imports from other files.
And you should use a lowercase starting letter when you specify a method name as methods in Java is lowercased. This is in your tag.
-
4. Re: ErrorHandler on route vs component problem
bobyetman Aug 20, 2009 12:23 PM (in response to davsclaus)I can't move the TestErrorHandler bean into the samel xml as the Camel route, since that's being auto-generated by FID when I deploy the EIP diagram. Also the TestErrorHandler is not a method name, it's just an identifier, the class name has the correct upper/lower/case, and the methods internal to it (process() is lower case.
-
5. Re: ErrorHandler on route vs component problem
dinesh_gioe Aug 20, 2009 1:56 PM (in response to bobyetman)May be I am thinking worst case, whats the folder name that contains the CreditCheckBean.xml file? is it "beans" or "Beans"??
Thanks
Dinesh
-
6. Re: ErrorHandler on route vs component problem
davsclaus Aug 21, 2009 12:53 AM (in response to bobyetman)Its this one that has wrong case
<bean method="CheckInventory" ref="InventoryCheck"> </bean>
-
7. Re: ErrorHandler on route vs component problem
davsclaus Aug 21, 2009 12:54 AM (in response to dinesh_gioe)Since its spring loading the file it should report something that it cannot find the file. So check logs what is happening.
-
8. Re: ErrorHandler on route vs component problem
spindipr Aug 21, 2009 1:16 AM (in response to bobyetman)Rob,
Can you just try running the EIP Configuration once and then verify whether everything is working fine or not? So that we can easily figure out whether the problem is with deployment or with tooling.
Thanks,
Sailaja.
-
9. Re: ErrorHandler on route vs component problem
bobyetman Aug 21, 2009 8:32 AM (in response to spindipr)The route is working when I don't have the error handler on the main pipeline (the bean method="CheckInventory" typo is a typo when I entered it in the message, it's correct in the diagram method="checkInventory"). Messages get processed the way I expect them to.
When I make the one change to the diagram, adding the error handler to the main pipeline, I get the deployment errors shown in the first message in this thread.