How to create a new instance of a bean per incoming message in Camel.

Solution Verified - Updated -

Issue

Can Camel create a new instance of my bean each time the route is executed?

Environment

  • Fuse Mediation Router/Camel 2.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.