-
1. Re: NoSuchEndpointException with Custom Camel Component in FUSE ESB 4.0.0.3
joealex3 Feb 17, 2009 6:47 PM (in response to rrojas-chariot)wrong msg
-
2. Re: NoSuchEndpointException with Custom Camel Component in FUSE ESB 4.0.0.3
davsclaus Feb 18, 2009 12:46 AM (in response to rrojas-chariot)Hi
See the Camel wiki page:
http://camel.apache.org/how-do-i-add-a-component.html
Basically the name of the velocity file that you copied is the scheme name, so you hould rename it to eg: mycomponent.
And look inside the file, you need to edit it to point to your component class.
Its all explained on that wiki page.
You can also add your component manually in the spring XML as a regular spring bean and then you can refer to it also. But using the above file trick instructs Camel to do this automatically for you at runtime.
-
3. Re: NoSuchEndpointException with Custom Camel Component in FUSE ESB 4.0.0.3
rrojas-chariot Feb 18, 2009 10:23 AM (in response to davsclaus)Hi davsclaus,
Thanks for replying.
I did follow the steps in that link to create my component and it works fine outside of FUSE ESB 4.
The problem I'm facing is that the component file is not being
loaded correctly across bundles in the OSGi container. In other words, the automatic load of the component using the uri scheme appears to be working only when the component file is in the same bundle as the route using it.
You're right the component can also be instantiated as a spring bean, but I believe the automatic load from the uri should work as well.
Thanks,
- Roberto
-
4. Re: NoSuchEndpointException with Custom Camel Component in FUSE ESB 4.0.0.3
davsclaus Feb 18, 2009 12:06 PM (in response to rrojas-chariot)Hi
William Jiang have done a lot of OSGi improvements in the latest FUSE MR release, aka 1.5.4.
Is it possible for you to upgrade FUSE MR and try again?
-
5. Re: NoSuchEndpointException with Custom Camel Component in FUSE ESB 4.0.0.3
rrojas-chariot Feb 18, 2009 3:20 PM (in response to davsclaus)Sure, I can try that.
Should I try from within FUSE ESB 4.0.0.4? or is there a SNAPSHOT of FUSE ESB 4.x that I can use?
Thanks,
- Roberto
-
6. Re: NoSuchEndpointException with Custom Camel Component in FUSE ESB 4.0.0.3
davsclaus Feb 19, 2009 12:51 AM (in response to rrojas-chariot)Hi
Yeah FUSE ESB 4.0.0.4 contains the latest FUSE MR 1.5.4.0
http://fusesource.com/wiki/display/ProdInfo/FUSEESBv4.0ReleaseNotes
-
7. Re: NoSuchEndpointException with Custom Camel Component in FUSE ESB 4.0.0.3
rrojas-chariot Feb 19, 2009 9:24 AM (in response to davsclaus)davsclaus,
Will try that version.
Thanks,
- Roberto
-
8. Re: NoSuchEndpointException with Custom Camel Component in FUSE ESB 4.0.0.3
njiang Feb 22, 2009 11:28 PM (in response to rrojas-chariot)Hi Roberto,
Please let me know if you find any osgi related thing wrong with Camel 1.5.4-fuse.
Cheers,
Willem