Mina endpoint getEndpointUri() results in error?

2012-04-06 Thread Steve973
Due to a design consideration, we are creating endpoints by using a factory. A client specifies the type of endpoint it wants by submitting a configuration, but as the server, we want to be able to control what resources we provide and how we provide them. In the case of our Mina endpoints, we

Re: Mina endpoint getEndpointUri() results in error?

2012-04-07 Thread Steve973
Thanks for the reply. How do you specify the URI for a Mina endpoint when you might not know the coded that you're using until runtime? If you already know the coded and you specify it as a spring bean, you can just specify it like #codecBeanName. Is there another way to do it? -- View this

Re: Mina endpoint getEndpointUri() results in error?

2012-04-07 Thread Steve973
I think I may have found the answer, so please correct me if I am wrong. Should I register a bean definition created from the codec instance into the context, and then refer to it by the name it is registered under? Something like: DefaultListableBeanFactory beanFactory =

Re: How to add Service on before camel route start

2016-06-08 Thread Steve973
Hi, Deepak. When you say "service", are you referring to a bean that you need to reference, by name, within the CamelContext that your route needs to invoke a method on? You can bind a bean to the registry of the context before you start it. How are you initializing the context for your tests?

Recipient list and aggregation when some destinations are unreachable?

2016-06-28 Thread Steve973
Hello. In my application, I have a list of recipients, but at any time when I send messages to this list of recipients, it is possible that they may be unreachable. I want to aggregate responses, but how will the aggregation count be affected by unreachable destinations in the list? Thanks,

Re: Rest DSL and "no matching path found"

2016-07-12 Thread Steve973
alhost:8181/timesheet/123 where 123 is a timesheetId > > Regards, > > Charles > > On Mon, Jul 11, 2016 at 10:48 PM, Steve973 <steve...@gmail.com> wrote: > > > I have my rest dsl route like this: > > > > restConfiguration().com

Re: Rest DSL and "no matching path found"

2016-07-12 Thread Steve973
hould be able from undertow to > route to the one that matches. > > But I didn't write the camel-undertow code so it may have "bug" ;) > > You can try with another component like jetty/netty4-http/restlet to > see how they work. > > > On Tue, Jul 12, 2016

Rest DSL and "no matching path found"

2016-07-11 Thread Steve973
I have my rest dsl route like this: restConfiguration().component("undertow").host("localhost").port("8181"); rest("/timesheet") .get("/{timesheetId}").produces(MediaType.TEXT_PLAIN) .to("bean:timesheetService?method=getTimesheetById")

Re: Rest DSL and "no matching path found"

2016-07-13 Thread Steve973
gt; You can get in touch with the wildfly-camel guys as they can help. > > > > On Tue, Jul 12, 2016 at 11:47 AM, Steve973 <steve...@gmail.com> wrote: > >> Thanks, Claus. I am trying this in Wildfly Swarm, so I am not sure how > >> difficult it would be to use s

Re: Recipient list and aggregation when some destinations are unreachable?

2016-06-28 Thread Steve973
allback from those that times out. > > Mind that when using timeout that thread/process that is sending to > that destination is still running in the background - its not > magically killed - so use this with a bit care. > > > > On Tue, Jun 28, 2016 at 12:38 PM, Steve973 <

Combining TimeoutAwareAggregationStrategy and AbstractListAggregationStrategy

2016-06-29 Thread Steve973
Is it possible to combine TimeoutAwareAggregationStrategy and AbstractListAggregationStrategy into a hybrid of the two? Or will I need to only implement TimeoutAwareAggregationStrategy and add the list aggregation behavior? Thanks, Steve

Re: failing move to processed, processing over and over again

2016-06-29 Thread Steve973
Have you tired setting idempotent=true in your file endpoint URI? Check for the "idempotent" option in the "Consumer" section of http://camel.apache.org/file2.html. On Wed, Jun 29, 2016 at 5:43 AM, Hans Orbaan wrote: > Hi All, > > When a file has been processed

Re: Combining TimeoutAwareAggregationStrategy and AbstractListAggregationStrategy

2016-07-03 Thread Steve973
Thank you for the reply and the suggestion, although I was hoping for ideas about a Java implementation. I generally use the Java DSL, since I don't prefer XML. However, I ended up using FlexibleAggregationStrategy which is pretty cool. On Sat, Jul 2, 2016 at 8:40 PM, raffi

Camel send/receive UDP with Netty4

2016-08-31 Thread Steve973
Hello, All. I am trying to create an example where I can receive UDP packets with the Netty4 component, but it isn't working. I'm sending UDP packets with a DatagramSocket to localhost, and I have a camel route consuming from netty4:udp//localhost on the port the DatagramSocket sent to. Here's

Re: Camel send/receive UDP with Netty4

2016-08-31 Thread Steve973
rmat("netty4:udp://localhost:%d?sync=false=true", > > to > > from(String.format("netty4:udp://0.0.0.0:%d?sync=false=true", > > > -Original Message- > > From: Steve973 [mailto:steve...@gmail.com] > > Sent: Wednesday, August 31, 2016 10:29

Java/Groovy DSL formatting in Intellij IDEA?

2016-09-12 Thread Steve973
Hello. if I run the code formatter in a java or groovy file within Intellij IDEA, it makes the formatting terrible. I *could* use the conventions to disable formatting for my routes, but it would be very nice if the editor had formatting rules for the DSL. Has anyone had any luck with this?

Netty4 shutdown seems slow

2016-10-04 Thread Steve973
Hello. I am consuming UDP packets from Netty4, and the packets are coming in very quickly. When I am finished consuming these packets, and try to shut the context down, it seems to take at least a full minute to complete. I am creating a DefaultOsgiCamelContext (because this is a bundle living

Re: Need help in processing comma seperated text file

2016-09-23 Thread Steve973
It might help to show us an example of the data that you are trying to transform. If the files are not too large, then simply using the file component and then invoking a CSV library (such as http://opencsv.sourceforge.net/) from within a processor should give you what you want. Depending on

Re: Problem: Concatenate the different input(from different route) using aggreagationStrategy

2016-10-28 Thread Steve973
Sorry... I see what you are doing. Which is line 19? On Fri, Oct 28, 2016 at 3:32 PM, Steve973 <steve...@gmail.com> wrote: > There is no way that you can aggregate like that. Both messages need to > be sent to the same endpoint, and they need to have some sort of > aggregat

Re: Problem: Concatenate the different input(from different route) using aggreagationStrategy

2016-10-28 Thread Steve973
There is no way that you can aggregate like that. Both messages need to be sent to the same endpoint, and they need to have some sort of aggregation id in order for the aggregation to know which messages to combine. Let me know if this is unclear or if you need more information. On Thu, Oct 27,

Re: Problem: Concatenate the different input(from different route) using aggreagationStrategy

2016-10-29 Thread Steve973
Yes. You need to set a header on message 1 and message 2 and use it as the aggregation id. The value of this header should be the same value for both messages of the pair, but different pairs should have unique ids. On Oct 29, 2016 4:07 AM, "meng" wrote: > Hi Steve, > >

Re: Problem: Concatenate the different input(from different route) using aggreagationStrategy

2016-10-29 Thread Steve973
d process(Exchange exchange) throws Exception { System.out.println(""); System.out.println(exchange.getIn().getBody(String.class)); } }); I didn't compile this, so make sure that there are the correct number of parentheses, etc. On

Re: CamelTestSupport best way to unit test the OUT or result of the route

2016-11-08 Thread Steve973
catequil: Sure. My comment was more about the nature of testing Camel-related things and how it differs from pure unit testing. Unit tests mock everything outside of the unit being tested. With a Camel route, you cannot unit test because you need other elements of Camel in order for the test to

Netty4 TCP data rates, backlog, and new connections via worker threads?

2016-11-09 Thread Steve973
We have a context with a route where we consume UDP packets via netty4, then they traverse a number of routes via seda, and after processing, they ultimately get sent to a system via Netty 4 TCP. What we are experiencing is an increasing backlog where the messages are being sent to the Netty 4

Re: CamelTestSupport best way to unit test the OUT or result of the route

2016-11-04 Thread Steve973
Just a note that doesn't help you directly, but camel route tests can never be unit tests. They are always integration tests. On Nov 4, 2016 4:23 PM, "catequil" wrote: > I applogize, I just missed that. I actually do have that in my test. I've > kinda got a mix of an

Is netty4 disconnect/reconnect notification possible?

2016-10-18 Thread Steve973
Hello. Our Camel route is sending messages to a netty4 tcp endpoint, but we need to make sure to send a particular type of message as the first message. If a disconnection happens during processing, we have to send this special message upon reconnection. Is this possible to achieve? Will we

Re: Dynamic routing based on collection values

2016-10-24 Thread Steve973
The easiest way that I can think of is to send map.entryset in the message body instead of the map itself. Then you can simply do .split().body(). That should work for you. On Mon, Oct 24, 2016 at 5:52 AM, raghavender.anth...@gmail.com < raghavender.anth...@gmail.com> wrote: > Thanks will tr

Re: AW: Dynamic routing based on collection values

2016-10-24 Thread Steve973
I'd worry about the overhead of creating so many producer templates. I would probably set a header that contains a map of keys to destinations, then you could set a recipient list of one endpoint that contains the value at that key. Maybe brad's method isn't as overhead intensive because the

Re: Dynamic routing based on collection values

2016-10-24 Thread Steve973
Have you tried first using splitter, and then using a choice to determine the route? From the example in "Composed Message Processor", they do something similar: // split up the order so individual OrderItems can be validated by the appropriate bean from("direct:start") .split().body()

Re: Dynamic routing based on collection values

2016-10-24 Thread Steve973
Note that you will have to split on the map's entryset, since a map, itself, is not iterable. This is probably obvious, but I wanted to mention it anyway, since splitting requires an iterable to split. On Mon, Oct 24, 2016 at 5:16 AM, Steve973 <steve...@gmail.com> wrote: > Have you tr

Re: AW: Dynamic routing based on collection values

2016-10-24 Thread Steve973
producer templates would be produced? There's only a single > handler instantiated so if there are 5 routes that's 5 producer templates. > > On Mon, Oct 24, 2016 at 1:32 PM, Steve973 <steve...@gmail.com> wrote: > > > I'd worry about the overhead of creating so many produce

Re: Is netty4 disconnect/reconnect notification possible?

2016-10-18 Thread Steve973
box behavior is to use netty for messaging like where > each Camel message maps to one netty message being sent over the wire. > > > > On Tue, Oct 18, 2016 at 7:29 PM, Steve973 <steve...@gmail.com> wrote: > > Hello. Our Camel route is sending messages to a netty4 tcp

Re: Exponentially growing latency while processing using textline codec

2016-11-11 Thread Steve973
Mina is either not maintained anymore, or it's not maintained very often. Have you considered using the netty4 component? There are lots of tuning options that you can use for it. On Fri, Nov 11, 2016 at 1:43 PM, pong2016 wrote: > We are using JBoss Fuse with Camel/Mina2

Re: Multicast with a dynamic list of endpoints

2016-11-23 Thread Steve973
Try using the Recipient List EIP: http://camel.apache.org/recipient-list.html On Wed, Nov 23, 2016 at 6:48 PM, Rajith Muditha Attapattu < rajit...@gmail.com> wrote: > With multicast, I pass in a comma separated list of endpoints to the > "to" component. > > How do I make this dynamic? How could

Re: Problem: Concatenate the different input(from different route) using aggreagationStrategy

2016-10-31 Thread Steve973
I think you are right to use completion size. On Oct 31, 2016 5:18 AM, "meng" wrote: > Hi Steve, > > I changed .completionPredicate(header("aggregated").isEqualTo(2)) to > .completionSize(2) and now I can get the return result. > But I'm still confused when to use

netty4 producer and default codec

2016-10-13 Thread Steve973
Hello. If I am creating a byte array to send via a netty4 tcp endpoint, should I disable the default codec? I want to ensure that the bytes are delivered simply as bytes, and not garbled by an encoding. Thanks, Steve

Re: netty4 producer and default codec

2016-10-13 Thread Steve973
com > wrote: > You could create a test route which listens via netty4 tcp and see how it > behaves with the default codec. If it reads properly then it should ok. > Worst case, you may need to encode/decode it. > > On Thu, Oct 13, 2016 at 5:27 PM, Steve973 [via Camel] < > ml

Re: dynamic endpoint with dynamic encoding

2016-11-29 Thread Steve973
Have you tried using simple? On Nov 29, 2016 10:36 AM, "morten" wrote: > I am hoping to pass the encoding dynamically to a file component. > Basically I > need to store an error record in a file with the same encoding as the > inputfile (encoding is changed during

Re: dynamic endpoint with dynamic encoding

2016-11-30 Thread Steve973
Are you catching and swallowing the exception somewhere? Maybe you could try using one of the exception/error handling features of camel, and log on exception or something. I have a feeling that your production code handles the error in a way that does not propagate up to some level that you are

Re: dynamic endpoint with dynamic encoding

2016-11-29 Thread Steve973
Oh, change the parentheses for your header expression to curly braces. On Nov 29, 2016 10:36 AM, "morten" wrote: > I am hoping to pass the encoding dynamically to a file component. > Basically I > need to store an error record in a file with the same encoding as

Send messages to remote SSL/TLSv1.2 enabled rest endpoints?

2017-10-23 Thread Steve973
Hello. I asked a similar question on Friday, but I do not think that I was specific enough about what I am intending to do. I am using camel 2.19.2, and I am currently attempting to use the http4 component. In my pom, I am including camel-spring-boot-starter, camel-http4, and camel-gson I am

Re: Send messages to remote SSL/TLSv1.2 enabled rest endpoints?

2017-10-23 Thread Steve973
; clientside-authentication-with-self-signed-certificates>). As you provide > the key- and truststore data via javax.net.ssl properties, keep in mind > that these are only used if a default SSL context is used (as EJP mentioned > in a comment) but not if one is constructed via getInstance().

Camel with Spock and Spring Boot: Zero interactions with detached mock

2017-11-01 Thread Steve973
Hello, everyone. I am having some issues with testing my camel context with spring boot. I am using spring boot 1.5.6, spock 1.1-groovy-2.4, camel 2.19.2, and camel-spring-boot-starter 2.19.2. I am using a spock mock, and I'm using the DetachedMockFactory in a @TestConfigurationclass. All of my

Error/exception propagating in camel from subroutes upward?

2018-05-14 Thread Steve973
Hello. This should be pretty simple, but something is eluding me. I have my camel routing exposed via a REST endpoint for use by other services. When a message is received from the REST endpoint, it is directed to my Camel content based router where it is dispatched to a sub-route to fulfill a

How can I include common behavior in several routes?

2018-05-10 Thread Steve973
Hello. If I want, for example, to have several of my routes to be "status aware", how might I achieve this? What I mean by "status aware" is that the route will start, notify a component that the workflow has begun, then it will conduct route-specific logic, and when that is complete, it will

Re: How can I include common behavior in several routes?

2018-05-11 Thread Steve973
Thanks, everyone. I did get an answer on SO, and it was also what Quinn Stevenson suggested. I am creating a custom RoutePolicy class that extends from RoutePolicySupport. In onExchangeBegin and onExchangeDone, I am creating a new exchange and sending it to the status endpoints via a fluent

Dynamic router behavior question - why route automatically back to the router?

2018-05-21 Thread Steve973
Why does dynamic router continually and automatically re-route the same message unless "null" is returned from the dynamic routing method? The EIP certainly does not specify this as the behavior for a dynamic router. The only connection from the potential recipients back into the router is by

DynamicRouter annotation with Consume annotation -- still need a route to consume messages?

2018-05-21 Thread Steve973
Hello, everyone. I am using camel 2.19.2. If I have a class like this: public class MyDynamicRouter { @DynamicRouter @Consume(uri = "direct-vm:start") public String route() { ... routing logic goes here ... } } Do I still need to add a route that consumes from

Request for discussion/collaboration on CAMEL-12529

2018-05-22 Thread Steve973
Hello, all. In working with the Dynamic Router feature of Camel, I believe that the EIP was implemented somewhat incorrectly. Currently, it operates as described -- messages are continually re-routed through the dynamic router until the routing method returns null. However, this is not how the

How can I check for empty or null string with ValueBuilder?

2018-06-15 Thread Steve973
If I have a choice block, and if I want to examine an exchange property with is supposed to be set as a String, how can I check if it's empty or null? I can check for empty with exchangeProperty(PROPERTY_NAME).isNull(), but how can I add the check for an empty string too?

http4 component with spring boot to configure ssl parameters

2017-10-20 Thread Steve973
Hello. I'm trying to figure out how to set up the http4 component with ssl information (keystore, truststore) with Spring Boot. I would like to have a @Configuration class that configures the "https4" component, but I cannot find examples. Do any of you know of an example that I could look at?

Re: Send messages to remote SSL/TLSv1.2 enabled rest endpoints?

2017-10-23 Thread Steve973
! On Mon, Oct 23, 2017 at 9:47 AM, Steve973 <steve...@gmail.com> wrote: > Thanks for the reply, Roman! I am not using a self-signed certificate. > For our deployment, we have our own (but valid) corporate CA, and all > clients and all servers are using PKCS12 certificates that h

Re: Design: State Machine implementation in Apache Camel

2018-01-10 Thread Steve973
Imran, This seems like a complexity and maintenance nightmare. You might want to rethink your approach for simplicity and maintainability. I don't know your exact requirements and all of your use cases, but it might help if you can normalize and generalize a bit to streamline the process. At

Re: Design: State Machine implementation in Apache Camel

2018-01-11 Thread Steve973
efine camel routes if you have a lot of > similar ones? > > HTH. > > O. > > > > On 11 Jan 2018, at 01:32, Steve973 <steve...@gmail.com> wrote: > > > > Imran, > > > > This seems like a complexity and maintenance nightmare. You might want > to

Re: Design: State Machine implementation in Apache Camel

2018-01-09 Thread Steve973
I wouldn't roll my own state machine in Camel or any other application, since that wheel has been invented already. Why use a table when you can utilize something like StatefulJ that will allow you to define states, transitions, etc? I would probably also leave your business logic outside of

Re: Design: State Machine implementation in Apache Camel

2018-01-12 Thread Steve973
For your first point, when you say that you save the route names in a table, do you mean something like a camel Routing Slip , or a data structure of your own? Consider using the Dynamic Router feature if you

Handling unreachable URIs in recipient list?

2018-08-03 Thread Steve973
Hi, all. If I have a recipient list, and if one or more of the URIs in the recipient list are (for some reason) unreachable, how can I best handle the error so that I don't return a 500 error from my route? Thanks, Steve

Re: [DISCUSS] - Apache Camel 3 - A new tagline

2019-02-22 Thread Steve973
ere's a component for that!" could work. Yeah, maybe not the *most* catchy slogan, but something that conveys this type of idea would be a pretty effective slogan. On Fri, Feb 22, 2019 at 5:47 AM Steve973 wrote: > I also like "Integrate Everything" as a general tagline, and the idea

Re: Workflow UI Editor

2019-02-22 Thread Steve973
"*Especially if it generated test coverage too.*" -- This is an awesome idea! Actually, something like that would not have to be part of a UI tool, but a UI tool could work *with* a test generation utility. Perhaps for annotated routes, the annotation could include some meta-information that

Re: [DISCUSS] - Apache Camel 3 - A new tagline

2019-02-22 Thread Steve973
I also like "Integrate Everything" as a general tagline, and the idea of different taglines or slogans for different types of use is a cool idea, too. Camel is a sort of Swiss army knife of integration, so it might also be cool to capture that idea in some way, but I don't think "Camel: The Swiss

Re: Problems passing Camel VM messages between multiple Spring Boot applications in Tomcat

2020-08-19 Thread Steve973
ctice on tomcat to mess with > classloading using this shared lib. > > > > > > > On Thu, Aug 6, 2020 at 4:46 PM Steve973 wrote: > > > > We have an application stack, deployed in Tomcat, that consists of > several > > Spring Boot applications. As part of our op

Re: Problems passing Camel VM messages between multiple Spring Boot applications in Tomcat

2020-08-07 Thread Steve973
is really IMHO a bad practice on tomcat to mess with > classloading using this shared lib. > > > > > > > On Thu, Aug 6, 2020 at 4:46 PM Steve973 wrote: > > > > We have an application stack, deployed in Tomcat, that consists of > several > > Spring Boot a

Problems passing Camel VM messages between multiple Spring Boot applications in Tomcat

2020-08-06 Thread Steve973
We have an application stack, deployed in Tomcat, that consists of several Spring Boot applications. As part of our operations, we want to send some messages to a vm endpoint, where a camel route will consume those messages and then publish them to a JMS topic for any of the other Spring Boot

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

2021-10-09 Thread Steve973
.5.11". I am using Spring Boot 2.5.5, and Camel 3.12.0. So that you can also see what I am doing, in case I am doing something that is prohibiting the Camel OpenAPI functionality from working correctly, I pushed my example to Github: https://github.com/Steve973/spring-camel-rest-experiments

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

2021-10-09 Thread Steve973
can decide. > > > On Sat, Oct 9, 2021 at 5:23 PM Steve973 wrote: > > > > Please have a look at my working example. When I get it all working, and > > cleaned up, I can submit it as one of the camel example modules, if that > > would be helpful. I would make th

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

2021-10-09 Thread Steve973
ot mind contributing once I gain better understanding. On Sat, Oct 9, 2021 at 7:36 AM Steve973 wrote: > Hi, Claus. Thank you for the reply! You can find springdoc here: > https://springdoc.org/ and I moved my project from using springfox > because springfox has only one developer

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

2021-10-09 Thread Steve973
ngodc how to > integrate with custom frameworks. > > > > On Sat, Oct 9, 2021 at 1:37 PM Steve973 wrote: > > > > Hi, Claus. Thank you for the reply! You can find springdoc here: > > https://springdoc.org/ and I moved my project from using springfox > because >

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

2021-10-09 Thread Steve973
endpoints would be a good illustration of how other REST endpoints could be included with the camel rest information. On Sat, Oct 9, 2021 at 10:59 AM Steve973 wrote: > Thank you, Claus. I have been chipping away at this problem, and it is > quite possible to point springdoc to the generated s

Camel REST DSL json deserialization

2021-10-13 Thread Steve973
Hello. I was wondering if it is possible to deserialize subclasses in the REST DSL, either with the JSON binding method, or with JSON unmarshaling. I have an interface, and messages that are posted to an endpoint should all deserialize/unmarshal to implementations of this interface. Then, I

Camel Spring Boot Project in Intellij IDEA and super slow IDE performance

2021-10-13 Thread Steve973
Do many of you use Intellij IDEA for working on camel-spring-boot? It takes about 5 minutes for my IDE to load with this project active, and my machine is far from slow. What do you all recommend? I have the memory set to a maximum of 6G, so I don't think it's a matter of the memory. Thanks,

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

2021-10-13 Thread Steve973
at 1:13 PM Steve973 wrote: > My ASF Jira username is Steve973. I'd be glad to take what you have done > and create a new module with it. By the way, you might remember a > discussion about the implementation of the Dynamic Router EIP that we had a > few years ago. I am just now ge

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

2021-10-10 Thread Steve973
My ASF Jira username is Steve973. I'd be glad to take what you have done and create a new module with it. By the way, you might remember a discussion about the implementation of the Dynamic Router EIP that we had a few years ago. I am just now getting around to implementing it in a way

Proposal: Create Dynamic Router 2, or modify current Dynamic Router to better reflect the EIP description

2021-10-10 Thread Steve973
A couple of things have bothered me with regard to the current implementation of the Dynamic Router EIP, because I believe that the EIP description was misinterpreted. I think that the current implementation is well enough for use cases where it is appropriate, and it provides a useful feature

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

2021-10-14 Thread Steve973
I hacked together, and polish as needed. > Use the right name etc. Add a doc file in src/main/docs etc. > > And then you can build it locally with mvn clean install so you have > the JAR in your local m2 repo. > Then you can try to use it from your example to see it works. > > >

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

2021-10-08 Thread Steve973
Hello. I am using spring boot with the camel rest dsl and it is working great. I can also have swagger JSON generated and accessible. But I would like to use the springdoc openapi user interface to interact with my rest endpoints. I have tried for hours, and I have not been able to get the UI

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

2021-10-15 Thread Steve973
his starter you create. > > On Fri, Oct 15, 2021 at 2:27 AM Steve973 wrote: > > > > That is what I have been trying to do, but this keeps happening: > > > > [ERROR] Failed to execute goal > > > org.apache.camel.springboot:camel-spring-boot-generator-ma

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

2021-10-13 Thread Steve973
. This is the first time that I am working directly on the Camel code, so if there is a decent resource to get me started, would you mind pointing me in the right direction, please? Thanks, Steve On Wed, Oct 13, 2021 at 2:33 PM Claus Ibsen wrote: > On Wed, Oct 13, 2021 at 8:05 PM Steve973 wr

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

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: 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: 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 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

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

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

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

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:

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

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

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: > > > >

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: 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

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

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

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

  1   2   >