-
1. Re: Proxy configuration when running a camel context
oisin Oct 13, 2008 12:01 PM (in response to nick_nick.gray)Well, I was thinking that Camel shouldn't be going remotely to load this schema - it should be loaded from the local Camel install. It could be that the schema is not being found on the classpath at runtime, so it's falling back to the default behaviour.
Just a question - when you say
When I attempt to run the diagram (or a generated camel context) from the Eclipse tooling
do you mean that you are running the context from within the Eclipse tools, or you
are running the context in Camel outside of the tooling?
-
2. Re: Proxy configuration when running a camel context
vineet_vineet Oct 13, 2008 12:38 PM (in response to oisin)Oisin, It seems that there are two bugs here - both of which should ideally be fixed:
The schema is not being loaded from the local Camel install
The FUSE Launcher is not forwarding Eclipse's proxy settings to the launched runtime.
-
3. Re: Proxy configuration when running a camel context
nick_nick.gray Oct 13, 2008 5:10 PM (in response to oisin)do you mean that you are running the context from within the Eclipse tools, or you
are running the context in Camel outside of the tooling?
I am running them from within the Eclipse tools, as if I wanted to debug them.
Steps to reproduce for me are:
1. Create a FUSE Project
2. Create a EIP diagram
3. Place two file endpoints and specify and input and output directory
4. Place a connector between the two
5. Attempt to run via Run Configuration Dialog - using a FUSE Integration Designer EIP configuration
6. Fails as its running with the above stack
I tried exporting the camel context to XML and running that using a Camel Context Run Configuration (via Run dialog) and I get the same problem.
I am not sure why it isn't loading from the local install as you suggest but when I download the schema and modify the exported camel context xml file to reference a local copy it works (however this is really annoying for development)
-
4. Re: Proxy configuration when running a camel context
oisin Oct 16, 2008 1:59 PM (in response to nick_nick.gray)Here's something I tried and it worked - created the FUSE Project, added an EIP (File-to-File). Generated the Camel Spring XML from the diagram, then put it into a src/main/resources/META-INF/spring directory in the project.
Then I ran the project as a Camel Context run configuration, and had success - files moved from the source directory to the target directory as expected, no exceptions.
-
5. Re: Proxy configuration when running a camel context
oisin Oct 24, 2008 11:29 AM (in response to oisin)Back to this one - I've seen it come up again, most especially doing a demo at a conference recently
I've put in a JIRA - ETOOLS-31
Edited by: oisin on Oct 24, 2008 4:28 PM
-
6. Re: Proxy configuration when running a camel context
jucaro Feb 23, 2009 6:48 AM (in response to nick_nick.gray)Hi,
I had the same problem. You need to add the camel-spring-1.4.0.jar to the Run configuration classpath.
Regards,
Juan