Skip to content

Conversation

zhfeng
Copy link
Contributor

@zhfeng zhfeng commented Mar 2, 2020

https://issues.apache.org/jira/browse/CAMEL-14326

The following work could be to support the ValueResolver, Inject beans, customs tags and etc.

Copy link
Contributor

@oscerd oscerd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just minor findings. Then we'll need to create a starter in camel-spring-boot.

@oscerd
Copy link
Contributor

oscerd commented Mar 2, 2020

Also please fix the codestyle by running the build with -Psourcecheck. I do believe you need to completely rebuild camel with 3.2.0-SNAPSHOT first

public class QuteComponent extends DefaultComponent {

@Metadata(label = "advanced")
private Engine quarkusEngine;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be named quteEngine

Reader reader = getEncoding() != null ? new InputStreamReader(in, getEncoding()) : new InputStreamReader(in);
return reader;
} catch (Exception e) {
log.warn("can not load template " + path + " due to " + e);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cannot

| *basicPropertyBinding* (advanced) | Whether the endpoint should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities | false | boolean
| *synchronous* (advanced) | Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported). | false | boolean
|===
// endpoint options: END
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be good to add a new section with one or two examples to the docs

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, I will add the examples.

@davsclaus
Copy link
Contributor

@zhfeng let us know when you have the last bits done so we can get this new component merged

@zhfeng
Copy link
Contributor Author

zhfeng commented Mar 5, 2020

Thanks @davsclaus - I just added the example section and re-generate the files.

@davsclaus
Copy link
Contributor

@oscerd @lburgazzoli oh I wonder if we merge this to camel repo, and have a dependency on quarkus-qute, and then we have a camel-quarkus extension for this component, and then we wont end up with a circular quakus dependency problem. Or a N-1 problem. eg camel-qute uses quarkus 1.2.1, and then quarkus 1.3.0 is released, and we want to release camel-quarkus with that version, and before we could just do it, now we may need to release camel first to pickup quarkus 1.3.0, and then thereafter only camel-quarkus.

So maybe camel-qute should be moved to camel-quarkus and be only there?

@oscerd
Copy link
Contributor

oscerd commented Mar 5, 2020

I think it makes sense to have it in camel-quarkus. You're right

@zhfeng
Copy link
Contributor Author

zhfeng commented Mar 6, 2020

yeah, there is also an issue with Qute support in camel-quarkus. So I think it should be OK to move there.

@zhfeng
Copy link
Contributor Author

zhfeng commented Mar 9, 2020

I close this PR and move the camel-qute component to the camel-quarkus.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants