monodot / camel-demos Goto Github PK
View Code? Open in Web Editor NEW๐ช๐ช Demonstrations of various features of Apache Camel, mostly accompanied by unit tests, for your delight.
Home Page: https://tomd.xyz
License: Apache License 2.0
๐ช๐ช Demonstrations of various features of Apache Camel, mostly accompanied by unit tests, for your delight.
Home Page: https://tomd.xyz
License: Apache License 2.0
In case the version of "camel-spring-boot-dependencies" is set to v3.1.0 the program crahes with the following error message:
Caused by: java.lang.IllegalArgumentException: connectionFactory must be specified
at org.apache.camel.util.ObjectHelper.notNull(ObjectHelper.java:152) ~[camel-util-3.1.0.jar:3.1.0]
...
The same error occured with the version v3.0.0 in case an endpoint is declared. So e.g. adding the following line just before the routes definitions:
Endpoint endpoint = endpoint("jms:queue:HELLO.WORLD");
will cause the exception:
Caused by: java.lang.IllegalArgumentException: connectionFactory must be specified
at org.apache.camel.util.ObjectHelper.notNull(ObjectHelper.java:152) ~[camel-util-3.0.0.jar:3.0.0]
Hi I have been looking at your sample codes to learn Camel, which is a lot of help. When I tried to run your code using 3.7.7 (LTS Latest version) it still could work. But when I go all the way to 3.10.0, whilst the application can start, I am getting the following warnings:
2022-02-24 18:26:33.119 WARN 35076 --- [ main] o.a.c.i.e.DefaultCamelBeanPostProcessor : No CamelContext defined yet so cannot inject into bean: org.apache.camel.spring.converter.ResourceConverterLoader 2022-02-24 18:26:33.125 WARN 35076 --- [ main] o.a.c.i.e.DefaultCamelBeanPostProcessor : No CamelContext defined yet so cannot inject into bean: org.apache.camel.converter.CamelBaseBulkConverterLoader 2022-02-24 18:26:33.126 WARN 35076 --- [ main] o.a.c.i.e.DefaultCamelBeanPostProcessor : No CamelContext defined yet so cannot inject into bean: org.apache.camel.component.file.GenericFileConverterLoader 2022-02-24 18:26:33.134 WARN 35076 --- [ main] o.a.c.i.e.DefaultCamelBeanPostProcessor : No CamelContext defined yet so cannot inject into bean: org.apache.camel.converter.jaxp.CamelXmlJaxpBulkConverterLoader 2022-02-24 18:26:33.136 WARN 35076 --- [ main] o.a.c.i.e.DefaultCamelBeanPostProcessor : No CamelContext defined yet so cannot inject into bean: org.apache.camel.converter.stream.StreamCacheBulkConverterLoader 2022-02-24 18:26:33.138 WARN 35076 --- [ main] o.a.c.i.e.DefaultCamelBeanPostProcessor : No CamelContext defined yet so cannot inject into bean: org.apache.camel.http.common.HttpConverterLoader 2022-02-24 18:26:33.145 WARN 35076 --- [ main] o.a.c.i.e.DefaultCamelBeanPostProcessor : No CamelContext defined yet so cannot inject into bean: org.apache.camel.attachment.AttachmentConverterLoader 2022-02-24 18:26:33.151 WARN 35076 --- [ main] o.a.c.i.e.DefaultCamelBeanPostProcessor : No CamelContext defined yet so cannot inject into bean: org.apache.camel.component.jackson.converter.JacksonTypeConvertersLoader
After that when the request is sent via Postman, instead of Hello World I will be getting
{ "timestamp": "2022-02-24T10:28:13.292+00:00", "status": 404, "error": "Not Found", "message": "", "path": "/services/api/" }
Update: Once updated to 3.11.0, the warning disappears but I am still getting a 404.
Still trying to find the reason why.
Where this serviceClass=com.cleverbuilder.bookservice.BookService came from please explain i am unable to understand this.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.