Fuse 6 is no longer supported
As of February 2025, Red Hat Fuse 6 is no longer supported. If you are using Fuse 6, please upgrade to Red Hat build of Apache Camel.이 콘텐츠는 선택한 언어로 제공되지 않습니다.
4.9. Adding beans and configuration
Overview 링크 복사링크가 클립보드에 복사되었습니다!
링크 복사링크가 클립보드에 복사되었습니다!
Many routing patterns rely on references to Java objects (beans) for configuration or for implementation details. You add the beans into the routing context file using the route editor's Source tab.
Procedure 링크 복사링크가 클립보드에 복사되었습니다!
링크 복사링크가 클립보드에 복사되었습니다!
To add beans to your routing context file:
- Open your routing context file in the route editor.
- Click the Source tab at the bottom of the route editor's canvas to switch to Source view, so you can edit the XML that defines the route.
- Enter the
bean
elements needed by your route before thecamelContext
element.NoteUse theid
attribute to identify the bean, not thename
attribute.ImportantDo not edit the contents of thecamelContext
element. Red Hat JBoss Fuse Tooling overwrites thecamelContext
element when changes are made to the route diagram in Design view. - Save your changes by selecting
on the menu bar. - Click the Design tab at the bottom of the route editor's canvas to return to Design view and the route diagram.
Related topics 링크 복사링크가 클립보드에 복사되었습니다!
링크 복사링크가 클립보드에 복사되었습니다!
Chapter 6, The Source View |
Configuring a Component in the Red Hat JBoss Fuse Programming EIP Components guide at https://access.redhat.com/site/documentation/JBoss_Fuse/ |