Re: Testing JMX with camel-test-junit5

2024-01-02 Thread Steve973
I am going to switch over to the dev list for this. I did not know about that list until today. On Tue, Jan 2, 2024 at 4:30 PM Steve973 wrote: > Thanks. For the code that I included with my email, it didn't even get > that far. The ManagementAgent was null. I switched my test over to

Re: Testing JMX with camel-test-junit5

2024-01-02 Thread Steve973
You can just add a thread sleep (long value) to keep the jvm running. > > Then find the right mbean you want to get and update your test code. > > Also take a look at the existing tests in camel-management etc. > > > > > > On Tue, Jan 2, 2024 at 6:53 PM Steve973 wrote

Re: Testing JMX with camel-test-junit5

2024-01-02 Thread Steve973
Hi, Claus. Yes, I have included camel-management as a test-scoped dependency. On Tue, Jan 2, 2024 at 12:24 AM Claus Ibsen wrote: > Hi > > Have you added camel-management as a dependency. > > On Tue, Jan 2, 2024 at 2:15 AM Steve973 wrote: > > > Hello. I have a Camel

Testing JMX with camel-test-junit5

2024-01-01 Thread Steve973
Hello. I have a CamelSpringBootTest, and I am trying to test that my mbeans have been registered. This is how I am trying to check: @CamelSpringTest @ContextConfiguration @DirtiesContext(classMode = DirtiesContext.ClassMode.AFTER_EACH_TEST_METHOD) class DynamicRouterJmxIT { @Autowired

Re: Adding http(s) compatibility to a component (for discoverable service compatibility)

2024-01-01 Thread Steve973
products that does that. > > Then you can make your component enlist itself into their service > > registries. > > > > However beware to not make your component doing too much and being to > > complex. > > > > Your component is a dynamic router that was in

Adding http(s) compatibility to a component (for discoverable service compatibility)

2023-12-30 Thread Steve973
Hello. In my component, I have a control channel component that services a few types of administrative messages that configure the component in certain ways. I would like to experiment with making the control component endpoint a discoverable service, so I would like to try to clarify some

Re: How to tune recipient list performance?

2023-12-16 Thread Steve973
ed in a more real-life scenario where messages are routed to multiple (separate) JVMs, and stood up in a docker-compose stack where it can all be controlled and monitored via swagger endpoints. Thanks, Steve On Sat, Dec 16, 2023 at 12:21 PM Steve973 wrote: > Hello. Are there examples somewhere

How to tune recipient list performance?

2023-12-16 Thread Steve973
Hello. Are there examples somewhere that show how to make a recipient list as fast as possible? I have already tried to provide different types of thread pools from the DefaultExecutorServiceManager. If I am sending a lot of small messages, what options should I use to make the recipient list

Re: Using simple expression to get header value in spring xml

2023-12-04 Thread Steve973
guration options, like JMS has for some of its values. > > https://camel.apache.org/components/4.0.x/jms-component.html#_message_headers > > > On Sun, Dec 3, 2023 at 10:19 PM Steve973 wrote: > > > Hello. I am writing tests for my component with Spring, and configuring > i

Using simple expression to get header value in spring xml

2023-12-03 Thread Steve973
Hello. I am writing tests for my component with Spring, and configuring in xml. How can I specify these values so that it looks in the header, instead of interpreting these as literal string values? Thanks, Steve

Re: Trying to simplify my component by using a reifier

2023-12-03 Thread Steve973
as expected. On Sun, Dec 3, 2023 at 8:42 AM Steve973 wrote: > Hi, Claus. You make a good point. I am setting up a helper class that > contains the code to create the RecipientList. I copied over everything > from the RecipientListReifier class, and converted the places that use the >

Re: Trying to simplify my component by using a reifier

2023-12-03 Thread Steve973
oughts? On Sun, Dec 3, 2023 at 6:19 AM Claus Ibsen wrote: > On Wed, Nov 29, 2023 at 9:06 PM Steve973 wrote: > > > Hi, Claus. Thanks for the recommendation. Originally, I was going to > use > > the RecipientList class and create an instance. I thought that I would >

Re: Registry binding, unbinding, and re-binding seems odd

2023-12-03 Thread Steve973
tended for dynamic. > > However the bean component has a cache option you can set to lookup always. > A processor does not. > > > On Sun, Dec 3, 2023 at 12:52 AM Steve973 wrote: > > > Hello. I am binding a processor in the registry, which works fine. At > > some poin

Registry binding, unbinding, and re-binding seems odd

2023-12-02 Thread Steve973
Hello. I am binding a processor in the registry, which works fine. At some point, I unbind it, and then bind a different processor with the same bean name. I am even printing out the class name after I bind, in order to verify it. The first print shows the original/temporary processor. After

Re: Trying to simplify my component by using a reifier

2023-11-29 Thread Steve973
gt; https://github.com/apache/camel/blob/5235319d94fbb82f479ca3085b0780c0f144111b/core/camel-api/src/main/java/org/apache/camel/spi/AnnotationBasedProcessorFactory.java#L44 > > You can just create the processor yourself and configure it accordingly. > > > > > On Tue, Nov 28

Trying to simplify my component by using a reifier

2023-11-27 Thread Steve973
Hello. I am attempting to simplify my Dynamic Router EIP component by using the existing RecipientList implementation from camel-core. I was looking at the RecipientListReifier, even though I will not be adding anything to the Camel DSL. It looks like it would be perfect for setting up the

Re: Question about Lombok use

2023-11-19 Thread Steve973
re is the > "camel-test-infra" that can make this easier. > > > > > On Sun, Nov 19, 2023 at 2:12 PM Claus Ibsen wrote: > > > Hi > > > > No lombok is not allowed - we have as minimal dependency as possible. > > > > > > > > On Sun

Re: Question about Lombok use

2023-11-19 Thread Steve973
If the component codebase is java-only, is it permissible to use test frameworks that use other JVM languages? I am talking about things like Spock or Kotest. On Sun, Nov 19, 2023 at 9:21 AM Steve973 wrote: > Oh, regarding my other question, which might have gotten lost among the >

Re: Question about Lombok use

2023-11-19 Thread Steve973
Oh, regarding my other question, which might have gotten lost among the bigger discussion about Lombok: is the camel component codebase java-only, or is Kotlin also ok? On Sun, Nov 19, 2023 at 9:20 AM Steve973 wrote: > Thanks, Andra, for the informative reply. I understand and appreci

Re: Question about Lombok use

2023-11-19 Thread Steve973
> and I could go ahead. > > > > Il giorno dom 19 nov 2023 alle ore 14:12 Claus Ibsen < > > claus.ib...@gmail.com> ha scritto: > > > >> Hi > >> > >> No lombok is not allowed - we have as minimal dependency as possible. > >>

Re: Question about Lombok use

2023-11-19 Thread Steve973
java-only. On Sun, Nov 19, 2023 at 8:12 AM Claus Ibsen wrote: > Hi > > No lombok is not allowed - we have as minimal dependency as possible. > > > > On Sun, Nov 19, 2023 at 2:06 PM Steve973 wrote: > > > Hello. I completely understand the perspective of limiting the

Question about Lombok use

2023-11-19 Thread Steve973
Hello. I completely understand the perspective of limiting the addition of libraries for various reasons, and especially when the library is included in the distribution. I know that I have asked about Lombok before, but it is great for eliminating a lot of boilerplate code, especially when a

Re: Is URI redirection possible?

2023-11-19 Thread Steve973
ffected in any way. > > > > > > On Sun, Nov 19, 2023 at 12:50 PM Steve973 wrote: > > > Hello. In a component, if I want to change the format of a URI, and > still > > want to retain compatibility with the previous URI format, is there a way > > (within the m

Is URI redirection possible?

2023-11-19 Thread Steve973
Hello. In a component, if I want to change the format of a URI, and still want to retain compatibility with the previous URI format, is there a way (within the module) to redirect to the new URI after translation? I want to split some functionality off to another endpoint. So, rather than

Trouble loading yaml routes in CamelSpringTest

2023-11-12 Thread Steve973
, but I am having trouble getting them to load. I have created a gist on github that has the relevant files: https://gist.github.com/Steve973/8c1288f09900c1d8eab754011f7df4fd So I am doing something wrong. I thought that I needed the camel-yaml-dsl library, but something is not working right. Can

Using the Multicast processor in another EIP component?

2023-08-06 Thread Steve973
Hello. When I wrote the Dynamic Router EIP Component (not in the core module at org.apache.camel.processor, but the implementation in the components module at org.apache.camel.component.dynamicrouter), I wrote simplified dispatch code that was meant to do something like multicasting. This was

Re: Dynamic router EIP component routing problem (approx 50 in 1000000)

2023-06-27 Thread Steve973
I'm still drawing a blank on this one. So you have any ideas? On Wed, Jun 21, 2023, 2:13 PM Steve973 wrote: > Thanks for replying. I have tried 4.0.0 and 3.20.6. > > On Wed, Jun 21, 2023, 7:08 AM Otavio Rodolfo Piske > wrote: > >> Hi, >> >> What version of

Re: Dynamic router EIP component routing problem (approx 50 in 1000000)

2023-06-21 Thread Steve973
e flaky core tests I have been > trying to investigate the source. > > Kind regards > > On Tue, Jun 20, 2023 at 11:39 PM Steve973 wrote: > > > Hello. I am writing a better spring boot example project for the dynamic > > router eip component, and I am seeing som

Dynamic router EIP component routing problem (approx 50 in 1000000)

2023-06-20 Thread Steve973
Hello. I am writing a better spring boot example project for the dynamic router eip component, and I am seeing some strange results when I route one million messages in a somewhat fast manner. I am generating numbers from 1 to 100 and I have three routing participants: one accepts all

Re: camel-pulsar performance

2023-04-19 Thread Steve973
r Team Lead* > *Virginia Tech Transportation Institute* > > > On Wed, Apr 19, 2023 at 2:51 PM Steve973 wrote: > > > Thanks, Claus. I have also tried Kafka in my app for comparison > purposes, > > and it seems to be a little bit more performant. > > > > I saw somethi

Re: camel-pulsar performance

2023-04-19 Thread Steve973
from last known "ack" position. > > > > On Mon, Apr 17, 2023 at 5:04 PM Steve973 wrote: > > > Hello. I have been experimenting with the Camel Pulsar component as a > more > > performant alternative to traditional JMS brokers. I have seen > performance >

camel-pulsar performance

2023-04-17 Thread Steve973
Hello. I have been experimenting with the Camel Pulsar component as a more performant alternative to traditional JMS brokers. I have seen performance comparisons that set Pulsar even above Kafka in most cases. It is reported that Pulsar can handle (~3.5) millions of messages per second. In my

Re: Sending exchange through Pulsar endpoint, exchange properties disappear

2023-04-14 Thread Steve973
Type = "Map") String PROPERTIES_OUT = "CamelPulsarProducerMessageProperties"; Am I missing something? On Fri, Apr 14, 2023 at 4:52 PM Steve973 wrote: > Claus, > > I switched to using .withHeader() calls instead of .withProperty(), but I > am still not seeing my head

Re: Sending exchange through Pulsar endpoint, exchange properties disappear

2023-04-14 Thread Steve973
Claus, I switched to using .withHeader() calls instead of .withProperty(), but I am still not seeing my headers when I read the message from Pulsar. How does the Pulsar component attempt to keep track of the headers? On Fri, Apr 14, 2023 at 10:47 AM Steve973 wrote: > Claus, > &g

Re: Sending exchange through Pulsar endpoint, exchange properties disappear

2023-04-14 Thread Steve973
t even more confused now!  On Fri, Apr 14, 2023 at 5:03 AM Claus Ibsen wrote: > Hi > > This is expected, exchange properties are local only to the current > Exchange. > If you send data over network protocols like pulsar, kafka, jms then > the payload is only from the message (eg

Sending exchange through Pulsar endpoint, exchange properties disappear

2023-04-13 Thread Steve973
Hello. I am sending an exchange with a FluentProducerTemplate to a pulsar endpoint. When a route reads from that endpoint, the exchange property that I set is no longer there. This is how I am sending the message: Exchange exchange = ExchangeBuilder.anExchange(camelContext)

Sending with ProducerTemplate, how to marshal with ProtobufDataFormat

2023-04-10 Thread Steve973
Hello. If I want to send a message with the ProducerTemplate, how do I ensure that the body is marshaled by protobuf? Thanks, Steve

Camel Pulsar

2023-04-08 Thread Steve973
Hello. I am trying to use Pulsar, and the documentation is not super thorough. I have set up a server, and my camel app can connect to it. But, when I try to send a message through it, when I receive it, I cannot decode it! I have tried just letting it serialize the pojo, and then deserialize

IntelliJ IDEA settings (format, copyright, etc)

2023-04-08 Thread Steve973
Hello. I'm setting up my development environment again, and I cannot remember how I set up formatting and the copyright notices before. I currently have something close, but it doesn't match the rest of the source. Where are the instructions to set up IDEs, please? Thanks, Steve

What would you want to see in a dynamic router eip component spring boot example?

2023-04-06 Thread Steve973
Hello. I am working on beefing up the spring boot example for the dynamic-router-eip component. Since it was introduced in 3.15, I have not had any feedback on it, so I am guessing that it has slipped through the cracks, or people might not realize the very versatile capabilities that it has.

Is there a major performance difference between java serialization and protobuf?

2023-01-16 Thread Steve973
Hello. I saw that we can use google protobuf for serialization of messages. Are there any metrics regarding the difference in performance between the two? I imagine that, especially for larger messages, protobuf performs quite a bit better, but I am curious if that is quantifiable somehow. If

Re: Converting simple expression to predicate

2022-11-13 Thread Steve973
, back to the drawing board. On Sun, Nov 13, 2022 at 12:41 PM Steve973 wrote: > Thanks, Claus. All right, I guess I will construct the deserializer with > the component so that it has access to the context and can operate as > intended. I was thinking more about how the dynamic router su

Re: Converting simple expression to predicate

2022-11-13 Thread Steve973
; > On Sun, Nov 13, 2022 at 5:19 PM Steve973 wrote: > > > Hello. Is there some non-deprecated equivalent > > to SimpleLanguage.predicate(simpleExpressionString) to use when we do not > > have a reference to the CamelContext? I am using it for JSON > > deseriali

Converting simple expression to predicate

2022-11-13 Thread Steve973
Hello. Is there some non-deprecated equivalent to SimpleLanguage.predicate(simpleExpressionString) to use when we do not have a reference to the CamelContext? I am using it for JSON deserialization, where I don't have the context. Thanks, Steve

Re: Request for input re: Dynamic Router EIP component

2022-11-05 Thread Steve973
Uri"); > > from("subcribe:mychannel?id=3=3=") >.to("someUri"); > > 3) In the documentation maybe could to add an example with subscribe while > using different expression languages/predicates. > > > Raymond > > > > > > > &

Re: Request for input re: Dynamic Router EIP component

2022-11-05 Thread Steve973
ic-router:control", unsubscribeMsg); > > I try to use the Route DSL's as much as possible. (especially XML and YAML, > because they are easily to manipulate). How can I use the component within > regular routes without things like Predicates and other Java code? > > Kind regards, >

Request for input re: Dynamic Router EIP component

2022-11-05 Thread Steve973
Hello. I introduced a Dynamic Router EIP component in 3.15 because I had uses for a dynamic router that was a bit different than what the core component offers. I would like some feedback about what features to potentially add that would make it even more useful. First, just in case you are not

Re: Alternative OS builds failing on Camel repo fork

2022-09-30 Thread Steve973
s/mini/guide-mirror-settings.html#Using_A_Single_Repository > > On Thu, Sep 29, 2022 at 9:32 PM Steve973 wrote: > > > > Hello. I see that the alternative os build for my Camel fork > > always exceeds 360 minutes. It regularly passes on the official Apache > > repo, so is there something that

Alternative OS builds failing on Camel repo fork

2022-09-29 Thread Steve973
Hello. I see that the alternative os build for my Camel fork always exceeds 360 minutes. It regularly passes on the official Apache repo, so is there something that I can do that will fix this problem? Thanks, Steve

Serialization of Predicates?

2022-06-30 Thread Steve973
Hello. I am using the dynamic router EIP component, and I need to send a subscription message from another JVM, so I am sending the subscription message as the message body of a JMS message. Unfortunately, Predicates are not serializable. As a workaround, I could send all of the parameter

Re: Sending exchanges in parallel within a component?

2022-01-27 Thread Steve973
of the selected recipients to avoid slowing the routing. On Thu, Jan 27, 2022 at 11:35 AM Jeremy Ross wrote: > I replied to you a few days ago on Zulip. I'm not quite sure what you mean > by "component". Is this a custom Component you're creating? > > On Tue, Jan 25, 2022 at 3

Sending exchanges in parallel within a component?

2022-01-25 Thread Steve973
Hello. I sent another message a few days ago, but perhaps it got lost in the shuffle. I am trying to send exchanges in parallel within a component. I have tried using completable futures as well as a parallel stream, but they both result in using up resources very quickly, even when I make sure

Sending messages in parallel inside of a component

2022-01-23 Thread Steve973
Hello. Today, I tried to send messages in parallel inside of my component. It worked fine in my tests where I just used a few messages and a few destinations. But in my spring boot example, where I have several destinations, and a million messages, it broke -- fast! Here is a portion of my

Re: Endpoint trying to create additional consumers for URIs with paths

2022-01-21 Thread Steve973
component. So that is specifically where my disconnect is, at the moment. Thanks again, Steve On Fri, Jan 21, 2022 at 6:02 PM Steve973 wrote: > Hi, Claus. I am going with your suggestion to create a separate endpoint > for the control channel. I am having a little trouble being able to

Re: Endpoint trying to create additional consumers for URIs with paths

2022-01-21 Thread Steve973
gt; Then you can just in case someone attempts to use it wrongly throw an > exception in createConsumer > > dynamic-router:control/subscribe/123?filter=${body} contains 'red' > > from dynamic-router:123 > to bean:reds > > > > > On Mon, Jan 17, 2022 at 7:37 PM

Endpoint trying to create additional consumers for URIs with paths

2022-01-17 Thread Steve973
I have added path params to the URI for certain conditions of my component. The normal use case would have a URI like: my-component://name. Now there is another use case where I can specify a URI like: my-component://name//param. In this case, "action" can have different values. But I only

Re: What is the correct way to build a Predicate from an Expression?

2022-01-17 Thread Steve973
Thank you. That worked well! Steve On Mon, Jan 17, 2022 at 12:18 PM Claus Ibsen wrote: > Hi > > Language lan = context.resolveLanguage("simple") > Predicate p = lan.createPredicate() > p.init(context) > > > > On Mon, Jan 17, 2022 at 5:50 PM Steve97

What is the correct way to build a Predicate from an Expression?

2022-01-17 Thread Steve973
Hello. I am trying to create a Predicate from an Expression. The Expression is created from a String. This is what I am trying to do: String language = "simple"; String value = "${body} contains 'test'"; Expression expression = ExpressionBuilder.languageExpression(language, value); Predicate

Re: How can I specify multiple URI path parameters for an Endpoint when implementing a component?

2022-01-16 Thread Steve973
meters on the endpoint via their setters > > The @uripath are for documentation / tooling etc. > > > On Sun, Jan 16, 2022 at 4:04 PM Steve973 wrote: > > > > Thank you! Is there a way to distinguish a literal string from the name > of > > a parameter? Or does it on

Re: How can I specify multiple URI path parameters for an Endpoint when implementing a component?

2022-01-16 Thread Steve973
gt; The name should match the name you specify in the syntax attribute on > UriEndpoint > > On Sun, Jan 16, 2022 at 2:19 PM Steve973 wrote: > > > > Hello. If I want my component's endpoint URI to look something like > this: > > > > my-component://{name}/{action} >

Re: Issue CAMEL-17154: Request for comment and review

2022-01-16 Thread Steve973
, Steve On Tue, Jan 11, 2022 at 8:04 AM Claus Ibsen wrote: > On Sat, Jan 8, 2022 at 4:09 PM Steve973 wrote: > > > > Hello. I would like to add a little more to this conversation, since you > > mentioned my reason for contributing this code. My motivation to add >

How can I specify multiple URI path parameters for an Endpoint when implementing a component?

2022-01-16 Thread Steve973
Hello. If I want my component's endpoint URI to look something like this: my-component://{name}/{action} How do I specify this? I can create multiple properties annotated with @UriParam, but they will need to be used together, and in the right order. I understand how to do this with libraries

Re: Issue CAMEL-17154: Request for comment and review

2022-01-12 Thread Steve973
package" to try to build it. Thanks, Steve On Wed, Jan 12, 2022 at 1:13 AM Claus Ibsen wrote: > Hi > > Can you try again as there was some left over we forgot to delete > after a starter was removed (spring-javaconfig) > > On Wed, Jan 12, 2022 at 12:44 AM Steve973 wro

Re: Issue CAMEL-17154: Request for comment and review

2022-01-11 Thread Steve973
ude not found: Error-unused-starter-json.adoc"} ➤ YN: ERROR: "build:antora-perf" exited with 1. ➤ YN: ERROR: "build:antora" exited with 1. ➤ YN: The command failed for workspaces that are depended upon by other workspaces; can't satisfy the dependency graph ➤ YN: Failed

Re: Issue CAMEL-17154: Request for comment and review

2022-01-11 Thread Steve973
Oh, I am not sure what you mean with regard to the date. The text does not contain the date. On Tue, Jan 11, 2022 at 2:46 PM Steve973 wrote: > Since this is my first contribution to one of my all-time favorite > libraries, this is pretty exciting for me. I would be glad to update the

Re: Issue CAMEL-17154: Request for comment and review

2022-01-11 Thread Steve973
(or shorten) it, let me know and I can turn that around quickly, as well. On Tue, Jan 11, 2022 at 2:06 PM Claus Ibsen wrote: > On Tue, Jan 11, 2022 at 7:13 PM Steve973 wrote: > > > > Thank you for the review and comments. I completely agree with you that > it > > is cum

Re: Issue CAMEL-17154: Request for comment and review

2022-01-11 Thread Steve973
for participant suitability. Do you think that including a Camel bean ID in the url (and a corresponding bean in the registry) for the Predicate would be a good approach? On Tue, Jan 11, 2022 at 8:04 AM Claus Ibsen wrote: > On Sat, Jan 8, 2022 at 4:09 PM Steve973 wrote: > > > > Hello

Re: Issue CAMEL-17154: Request for comment and review

2022-01-10 Thread Steve973
Hi, Claus. I am just checking in to see if expanding on my rationale for the component helped at all, and if you have any additional thoughts. In short, is it ok for a component to be "glue"? Thanks, Steve On Sat, Jan 8, 2022 at 10:09 AM Steve973 wrote: > Hello. I would like to

Re: Trying to track down a mkdirs() failed error

2022-01-10 Thread Steve973
At least I am consistent with speaking prematurely. The messaging and, therefore, the alerts, are functioning properly. Maybe we can forget this whole conversation. Have a great day! :) On Mon, Jan 10, 2022 at 6:48 AM Steve973 wrote: > Thanks, Claus. I forgot to mention that this is a

Re: Trying to track down a mkdirs() failed error

2022-01-10 Thread Steve973
n a newer Camel version > > > > On Mon, Jan 10, 2022 at 12:29 PM Steve973 wrote: > > > > Hello. I am using camel 3.12.0 in a project, and I am probably not > logging > > enough detail, but I see a message like this: > > > > org.apache.camel.u

Trying to track down a mkdirs() failed error

2022-01-10 Thread Steve973
Hello. I am using camel 3.12.0 in a project, and I am probably not logging enough detail, but I see a message like this: org.apache.camel.util.FileUtil (101) - mkdirs() failed for /tmp/camel/camel-temp- To give a bit more context, I am using the following: - camel-spring-boot-starter

Re: Issue CAMEL-17154: Request for comment and review

2022-01-08 Thread Steve973
. > > > If on the other hand there was a new messaging system (called foobar), > and it was a well used system, then it would be worthwhile to > implement a camel component for such system. > In other words Camel is the glue to systems, but its "not a "server"

Re: Issue CAMEL-17154: Request for comment and review

2022-01-07 Thread Steve973
se-case as its > a single context / in-memory only "queue". > > > If on the other hand there was a new messaging system (called foobar), > and it was a well used system, then it would be worthwhile to > implement a camel component for such system. > In other words Cam

Re: Camel OpenAPI 3.0 support

2021-12-30 Thread Steve973
, if it is an option for you. If not, then I apologize for the confusion. On Thu, Dec 30, 2021 at 5:52 PM Rajith Muditha Attapattu wrote: > Hey Steve, how would it grab the info defined via the REST DSL? > > On Thu, Dec 30, 2021 at 4:19 PM Steve973 wrote: > > > Hello. Have you tried the

Re: Camel OpenAPI 3.0 support

2021-12-30 Thread Steve973
Hello. Have you tried the springdoc starter instead? On Thu, Dec 30, 2021 at 1:15 PM Rajith Muditha Attapattu wrote: > Hey Folks > > I'm using Camel 3.4.4 in a project that currently uses the camel swagger > component to generate the swagger 2.0 docs accessible via /api-doc path. > (With the

Re: Some class version errors when building

2021-12-27 Thread Steve973
. Thanks again, Steve On Mon, Dec 27, 2021 at 1:06 AM Claus Ibsen wrote: > Hi > > Yes Java 8 is dropped, you need to do a full local rebuild, and use Java 11 > > mvn clean install -P fastinstall > > > On Sun, Dec 26, 2021 at 4:44 PM Steve973 wrote: > > > >

Some class version errors when building

2021-12-26 Thread Steve973
Hello. When I am building the Camel Spring Boot project, I get an error that some classes have been built by a Java 11 JDK, but the current build requires the classes to have been built by a Java 8 JDK. Have I missed something about the appropriate Java/Maven setup for working with the Camel

Issue CAMEL-17154: Request for comment and review

2021-12-25 Thread Steve973
Hello. I have sent a few messages here on this list about an alternate Dynamic Router EIP component implementation that I have been working on. If anyone has some time, I would like to get more community input and opinion on what I have done so far. You can see the ticket here:

Re: Can ControlBus be used for custom management?

2021-12-25 Thread Steve973
I have pushed up an update with the internal control channel: https://github.com/Steve973/camel/tree/CAMEL-17154/components%2Fcamel-dynamic-router I would love some feedback, if possible, whenever anyone has some time after the holidays, or whenever. On Thu, Dec 23, 2021, 10:46 PM Steve973

Re: Can ControlBus be used for custom management?

2021-12-24 Thread Steve973
rstands, then users can do > > from xxx > to acme:control?action=foo=bar > > > On Thu, Dec 23, 2021 at 3:19 PM Claus Ibsen wrote: > > > > On Thu, Dec 23, 2021 at 2:21 PM Steve973 wrote: > > > > > > Hello. It appears that the control b

Re: camel maven plugin error on generate phase

2021-12-24 Thread Steve973
; from the root folder. > > > > And if you still have a problem, then can you paste the stacktrace > (you can get that with -e as arg to maven) > > > > > On Thu, Dec 23, 2021 at 1:41 PM Steve973 wrote: > > > > > > Hello. I am getting an error when buildi

Can ControlBus be used for custom management?

2021-12-23 Thread Steve973
Hello. It appears that the control bus component can only be used for two commands (route and language), and for routes, you can only specify an action (start, stop, etc). What if we have a component that could also benefit from management messages? Would it make sense to have a third command

Re: camel maven plugin error on generate phase

2021-12-23 Thread Steve973
in my previous email. On Thu, Dec 23, 2021 at 7:40 AM Steve973 wrote: > Hello. I am getting an error when building modules: > > [ERROR] Failed to execute goal > org.apache.camel:camel-package-maven-plugin:3.15.0-SNAPSHOT:generate > (generate) on project camel-direct: Error

camel maven plugin error on generate phase

2021-12-23 Thread Steve973
Hello. I am getting an error when building modules: [ERROR] Failed to execute goal org.apache.camel:camel-package-maven-plugin:3.15.0-SNAPSHOT:generate (generate) on project camel-direct: Error generating data org.apache.maven.plugin.MojoFailureException: Unable to create mojo:

Re: Consume annotation not working when used with Spring XML

2021-12-20 Thread Steve973
r spring component or what? > > > On Sun, Dec 19, 2021 at 7:19 PM Steve973 wrote: > > > > Hello. I have a component class that includes a method that is annotated > > with @Consume. In tests, if I manually wire things up, and then invoke a > > bean post process

Pre-Review: brand new Dynamic Router EIP component

2021-12-19 Thread Steve973
Hi, all. I have finished my initial implementation of a new Dynamic Router EIP component. If you are interested in a pre-review, please have a look at https://github.com/Steve973/camel/tree/CAMEL-17154/components/camel-dynamic-router and let me know what you think. It differs from the dynamic

Consume annotation not working when used with Spring XML

2021-12-19 Thread Steve973
Hello. I have a component class that includes a method that is annotated with @Consume. In tests, if I manually wire things up, and then invoke a bean post processor, it does indeed consume from the URI obtained from the specified property. However, I am writing some Spring XML (not spring

Re: Adding something new into Camel DSL -- but how?

2021-12-04 Thread Steve973
with some of my design and implementation ideas. Any of my questions can wait until the 3.14 LTS release is complete. Thanks again, Steve On Tue, Nov 30, 2021 at 3:28 PM Claus Ibsen wrote: > Hi Steven > > > On Sun, Nov 28, 2021 at 5:01 PM Steve973 wrote: > > > > Hi, Cl

Re: Adding something new into Camel DSL -- but how?

2021-11-28 Thread Steve973
uot;have weird > problems" if the DSL model is wrong. > So if you have a very complex EIP then it can be tricky sometimes. > > > > On Mon, Nov 22, 2021 at 10:16 PM Steve973 wrote: > > > > Hi, all. I am working on a new version of the Dynamic Router processor >

Re: Dynamic route

2021-11-28 Thread Steve973
Hello. You can provide a recipient list in a header, and that will be used to send the message to the recipients. Have a look at https://camel.apache.org/components/3.11.x/eips/recipientList-eip.html to see how this works. On Fri, Nov 26, 2021 at 12:32 AM Ajmera, Hemang C wrote: > Hi >I

Re: Adding something new into Camel DSL -- but how?

2021-11-27 Thread Steve973
, so adding a > new EIP can require some coding there too, but that can be done > afterwards. > At first is to get the regular Java and XML DSLs to work. The XML DSL > is source generated with a maven plugin, and it can "have weird > problems" if the DSL model is wrong. > So

Adding something new into Camel DSL -- but how?

2021-11-22 Thread Steve973
Hi, all. I am working on a new version of the Dynamic Router processor that implements the pattern spec much more closely, and I have the initial implementation complete, but I want to test it (among other ways) by using it in the DSL. I haven't seen any documentation on how to do this, or any

Looking for info on how core processors are integrated into the Camel DSL

2021-11-14 Thread Steve973
Hello. I am implementing a processor for possible submission to be accepted into camel-core, and I have some questions. While I understand how to implement the Processor interface well enough, one of the parts that I still need to understand is how to integrate them into the DSL. For example,

Re: Use of lombok in camel codebase?

2021-11-07 Thread Steve973
m> | Github < > > > https://github.com/rmannibucau> | > > > LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book > > > < > > > > > > https://www.packtpub.com/application-development/java-ee-8-high-performance > > > &g

Re: Use of lombok in camel codebase?

2021-11-02 Thread Steve973
ino wrote: > There is no problem with license. Personally i never find any advantage in > using Lombok. > > Il mar 2 nov 2021, 21:23 Steve973 ha scritto: > > > Hello. I normally use lombok to take care of boiler plate code in > projects > > that I work on. I have noticed t

Re: Use of lombok in camel codebase?

2021-11-02 Thread Steve973
Ok. Thanks, Claus. Do you mind explaining the rationale behind this? On Tue, Nov 2, 2021 at 4:39 PM Claus Ibsen wrote: > We will not use lombock > > > On Tue, 2 Nov 2021 at 21.23, Steve973 wrote: > > > Hello. I normally use lombok to take care of boiler plate code in

Use of lombok in camel codebase?

2021-11-02 Thread Steve973
Hello. I normally use lombok to take care of boiler plate code in projects that I work on. I have noticed that lombok is not used in the camel code base. Is there something about it (licensing or something else) that makes it unsuitable for camel? I am working on something in camel-core, and

Re: Possible to use springdoc-openapi-ui with camel-rest-openapi-starter?

2021-10-26 Thread Steve973
AM Claus Ibsen wrote: > On Mon, Oct 25, 2021 at 10:53 PM Steve973 wrote: > > > > Claus, you can see the module here: > > > https://github.com/Steve973/camel-spring-boot/tree/CAMEL-17061/components-starter/camel-springdoc-starter > > > > Please let me know i

Re: Is it possible to communicate with a processor or component instance outside/independent of routing?

2021-10-25 Thread Steve973
if you would be interested in a control > bus: > https://www.enterpriseintegrationpatterns.com/ControlBus.html > https://camel.apache.org/components/3.11.x/controlbus-component.html > > > On Mon, Oct 25, 2021 at 9:13 PM Steve973 wrote: > > > Hello. If I am implementing a ne

Re: Possible to use springdoc-openapi-ui with camel-rest-openapi-starter?

2021-10-25 Thread Steve973
Claus, you can see the module here: https://github.com/Steve973/camel-spring-boot/tree/CAMEL-17061/components-starter/camel-springdoc-starter Please let me know if you have any concerns or questions, etc. Thanks, Steve On Fri, Oct 15, 2021 at 8:22 AM Steve973 wrote: > Hi, Claus. Thanks -

  1   2   >