Git Product home page Git Product logo

camel-demos's Introduction

Hi there ๐Ÿ‘‹ - it's me, Tom

I'm a Field Engineer at Grafana Labs, where I help people observe more from their stack ๐Ÿ•ต๏ธโ€โ™‚๏ธ.

๐Ÿ”ญ I also like to work on side projects. In my free time, I'm also working on:

  • Mainmates - a personal, private PIM for feeling better connected to your friends
  • Apoll.app, a way to create and share super-simple polls -- ideal for meetings and workshops.
  • Tutorial Works - a tech blog and library of tutorials for cloud and software engineers working with technologies like Docker, Kubernetes, Java and more. I also publish code samples to the tutorialworks GitHub organisation.

๐Ÿค” I'm interested in:

  • Teaching and writing about technology
  • DevOps technology and practices: Containers, Kubernetes, CI/CD, infrastructure automation.
  • Integration and messaging - e.g. with Apache Camel and ActiveMQ. I wrote a book about Apache Camel for beginners, called Apache Camel Step-by-Step.
  • Biscuits (especially digestives, bourbon and hobnobs).

๐Ÿ“ซ Want to know anything else? Feel free to knock on my door on Twitter or on LinkedIn.

camel-demos's People

Contributors

monodot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

camel-demos's Issues

Error connectionFactory must be specified

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]

Service Class

Where this serviceClass=com.cleverbuilder.bookservice.BookService came from please explain i am unable to understand this.

/api will hit 404 if change camel version is 3.10

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.