SlideShare une entreprise Scribd logo
1  sur  8
JBoss Fuse 101
Getting Started workshop
Christina Lin
JBoss Technology Evangelist
clin@redhat.com
RED HAT CONFIDENTIAL | ADD NAME2
Working with Beans (POJO)
Where should my
real business logic
go?
How does it work with my
Integration code in Camel?
Do I need to change
my old code?
RED HAT CONFIDENTIAL | ADD NAME3
Working with Beans
RED HAT CONFIDENTIAL | ADD NAME4
Working with Beans
Camel Context
Registry
POJO POJO POJO POJO POJO
Ref Ref
RED HAT CONFIDENTIAL | ADD NAME5
Working with Beans
Registry
SimpleRegistry
JNDIRegistry
ApplicationContextRegistry
OsgiServiceRegistry
Map-based registry
Testing and standalone
JNDI-based
Spring ENV
OSGi ENV
RED HAT CONFIDENTIAL | ADD NAME6
Working with Beans
Camel Context
POJO1. Create your bean
Registry
2. Register in registry
3. Reference bean
in Route
<bean id="helloBean"
class=”blogdemo.HelloBean"/>
Package blogdemo;
public class HelloBean{
public String hello() {}
public void sayHelloTo(String name)
{
return “Hello ”+name;
}
}
<bean ref="helloBean"
method=”sayHelloTo"/>
RED HAT CONFIDENTIAL | ADD NAME7
Working with Beans
PROCESS
package org.blogdemo;
import org.apache.camel.Processor;
public class MyProcessor implements Processor {
public void process(Exchange exchange){}
}
BEAN
RED HAT CONFIDENTIAL | ADD NAME8
POJO
My 4th Camel Ride JSON
XML
$ AMQ

Contenu connexe

Tendances

Tendances (16)

'Scalable Logging and Analytics with LogStash'
'Scalable Logging and Analytics with LogStash''Scalable Logging and Analytics with LogStash'
'Scalable Logging and Analytics with LogStash'
 
Elastic{ON} 2016 Review - 김종민 님
Elastic{ON} 2016 Review - 김종민 님Elastic{ON} 2016 Review - 김종민 님
Elastic{ON} 2016 Review - 김종민 님
 
LogStash in action
LogStash in actionLogStash in action
LogStash in action
 
Developing High Performance Application with Aerospike & Go
Developing High Performance Application with Aerospike & GoDeveloping High Performance Application with Aerospike & Go
Developing High Performance Application with Aerospike & Go
 
A Kong retrospective: from 0.10 to 0.13
A Kong retrospective: from 0.10 to 0.13A Kong retrospective: from 0.10 to 0.13
A Kong retrospective: from 0.10 to 0.13
 
Ipv6
Ipv6Ipv6
Ipv6
 
Monitoring Docker with ELK
Monitoring Docker with ELKMonitoring Docker with ELK
Monitoring Docker with ELK
 
Containerized Storage for Containers - Meetup #3
Containerized Storage for Containers - Meetup #3Containerized Storage for Containers - Meetup #3
Containerized Storage for Containers - Meetup #3
 
Hack Shack workshop: Improve day two operations with your own custom automati...
Hack Shack workshop: Improve day two operations with your own custom automati...Hack Shack workshop: Improve day two operations with your own custom automati...
Hack Shack workshop: Improve day two operations with your own custom automati...
 
DevOpsDays Taipei 2017 - Terraform: Everything Is Code
DevOpsDays Taipei 2017 - Terraform: Everything Is CodeDevOpsDays Taipei 2017 - Terraform: Everything Is Code
DevOpsDays Taipei 2017 - Terraform: Everything Is Code
 
Hack Shack workshop: Persist, optimize and accelerate using persistent storag...
Hack Shack workshop: Persist, optimize and accelerate using persistent storag...Hack Shack workshop: Persist, optimize and accelerate using persistent storag...
Hack Shack workshop: Persist, optimize and accelerate using persistent storag...
 
Redis clustering
Redis clusteringRedis clustering
Redis clustering
 
Tales Of The Black Knight - Keeping EverythingMe running
Tales Of The Black Knight - Keeping EverythingMe runningTales Of The Black Knight - Keeping EverythingMe running
Tales Of The Black Knight - Keeping EverythingMe running
 
Fluentd - road to v1 -
Fluentd - road to v1 -Fluentd - road to v1 -
Fluentd - road to v1 -
 
Openstack CPI cloudfoundry
Openstack CPI cloudfoundryOpenstack CPI cloudfoundry
Openstack CPI cloudfoundry
 
Customer Intelligence: Using the ELK Stack to Analyze ForgeRock OpenAM Audit ...
Customer Intelligence: Using the ELK Stack to Analyze ForgeRock OpenAM Audit ...Customer Intelligence: Using the ELK Stack to Analyze ForgeRock OpenAM Audit ...
Customer Intelligence: Using the ELK Stack to Analyze ForgeRock OpenAM Audit ...
 

En vedette

Critical areas where the price of oil + associated costs change the game
Critical areas where the price of oil + associated costs change the gameCritical areas where the price of oil + associated costs change the game
Critical areas where the price of oil + associated costs change the game
Sharon Robson
 
Using Red Hat JBoss Fuse on OpenShift
Using Red Hat JBoss Fuse on OpenShiftUsing Red Hat JBoss Fuse on OpenShift
Using Red Hat JBoss Fuse on OpenShift
Kenneth Peeples
 
Ongc future plan_and_opportunities
Ongc future plan_and_opportunitiesOngc future plan_and_opportunities
Ongc future plan_and_opportunities
Pranjal Chopda
 

En vedette (20)

Jboss Fuse Workshop 101 part 1
Jboss Fuse Workshop 101 part 1Jboss Fuse Workshop 101 part 1
Jboss Fuse Workshop 101 part 1
 
JBoss Fuse Workshop 101 part 2
JBoss Fuse Workshop 101 part 2JBoss Fuse Workshop 101 part 2
JBoss Fuse Workshop 101 part 2
 
JBoss Fuse Workshop 101 part 5
JBoss Fuse Workshop 101 part 5JBoss Fuse Workshop 101 part 5
JBoss Fuse Workshop 101 part 5
 
JBoss Fuse - Fuse workshop Error Handling
JBoss Fuse - Fuse workshop Error HandlingJBoss Fuse - Fuse workshop Error Handling
JBoss Fuse - Fuse workshop Error Handling
 
JBoss Fuse - Fuse workshop EAP container
JBoss Fuse - Fuse workshop EAP containerJBoss Fuse - Fuse workshop EAP container
JBoss Fuse - Fuse workshop EAP container
 
Improve business process with microservice integration
Improve business process with microservice integration �Improve business process with microservice integration �
Improve business process with microservice integration
 
Fuse overview
Fuse overviewFuse overview
Fuse overview
 
JBoss Architect Meetup - December 2013 - JBoss Fuse in Vodafone’s Global Inte...
JBoss Architect Meetup - December 2013 - JBoss Fuse in Vodafone’s Global Inte...JBoss Architect Meetup - December 2013 - JBoss Fuse in Vodafone’s Global Inte...
JBoss Architect Meetup - December 2013 - JBoss Fuse in Vodafone’s Global Inte...
 
Red Hat Open Day JBoss Fuse
Red Hat Open Day JBoss FuseRed Hat Open Day JBoss Fuse
Red Hat Open Day JBoss Fuse
 
Critical areas where the price of oil + associated costs change the game
Critical areas where the price of oil + associated costs change the gameCritical areas where the price of oil + associated costs change the game
Critical areas where the price of oil + associated costs change the game
 
High Performance Computing
High Performance Computing High Performance Computing
High Performance Computing
 
Using Red Hat JBoss Fuse on OpenShift
Using Red Hat JBoss Fuse on OpenShiftUsing Red Hat JBoss Fuse on OpenShift
Using Red Hat JBoss Fuse on OpenShift
 
Ongc future plan_and_opportunities
Ongc future plan_and_opportunitiesOngc future plan_and_opportunities
Ongc future plan_and_opportunities
 
JBoss Fuse Service Works
JBoss Fuse Service WorksJBoss Fuse Service Works
JBoss Fuse Service Works
 
Valencia Smart City project powered by Telefonica and Red Hat IoT solutions
Valencia Smart City project powered by Telefonica and Red Hat IoT solutionsValencia Smart City project powered by Telefonica and Red Hat IoT solutions
Valencia Smart City project powered by Telefonica and Red Hat IoT solutions
 
financial analysis of ongc Final project
financial analysis of ongc Final project financial analysis of ongc Final project
financial analysis of ongc Final project
 
ONGC case study.
ONGC case study.ONGC case study.
ONGC case study.
 
ongc project ppt
ongc project pptongc project ppt
ongc project ppt
 
OngC
OngCOngC
OngC
 
2015 Oil and Gas Digital and Technology Trends Survey
2015 Oil and Gas Digital and Technology Trends Survey2015 Oil and Gas Digital and Technology Trends Survey
2015 Oil and Gas Digital and Technology Trends Survey
 

Plus de Christina Lin

Plus de Christina Lin (18)

Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
 
Kafka summit apac session
Kafka summit apac sessionKafka summit apac session
Kafka summit apac session
 
Serverless integration anatomy
Serverless integration anatomyServerless integration anatomy
Serverless integration anatomy
 
Day in the life event-driven workshop
Day in the life  event-driven workshopDay in the life  event-driven workshop
Day in the life event-driven workshop
 
Agile integration cloud native developement
Agile integration   cloud native developementAgile integration   cloud native developement
Agile integration cloud native developement
 
Dev conf .in cloud native reference architecture .advance
Dev conf .in cloud native reference architecture .advanceDev conf .in cloud native reference architecture .advance
Dev conf .in cloud native reference architecture .advance
 
Camel k Taiwan Java user group
Camel k  Taiwan Java user groupCamel k  Taiwan Java user group
Camel k Taiwan Java user group
 
Devoxxma-API centric microservices Architecture
Devoxxma-API centric microservices ArchitectureDevoxxma-API centric microservices Architecture
Devoxxma-API centric microservices Architecture
 
Supercharge Your Integration Services
Supercharge Your Integration Services�Supercharge Your Integration Services�
Supercharge Your Integration Services
 
Integrating BPM with Fuse
Integrating BPM with FuseIntegrating BPM with Fuse
Integrating BPM with Fuse
 
Scalable Integration with JBoss Fuse
Scalable Integration with JBoss FuseScalable Integration with JBoss Fuse
Scalable Integration with JBoss Fuse
 
Messaging on the cloud with xPAAS
Messaging on the cloud with xPAASMessaging on the cloud with xPAAS
Messaging on the cloud with xPAAS
 
中間件趨勢 與 Red Hat JBoss
中間件趨勢 與 Red Hat JBoss 中間件趨勢 與 Red Hat JBoss
中間件趨勢 與 Red Hat JBoss
 
Taipei – 加速、整合、自動化
Taipei – 加速、整合、自動化Taipei – 加速、整合、自動化
Taipei – 加速、整合、自動化
 
xPaaS: The JBoss Way
xPaaS: The JBoss WayxPaaS: The JBoss Way
xPaaS: The JBoss Way
 
xPaaS - DevOps
xPaaS - DevOpsxPaaS - DevOps
xPaaS - DevOps
 
HP Event, Openshift and Devops from Developer side
HP Event, Openshift and Devops from Developer sideHP Event, Openshift and Devops from Developer side
HP Event, Openshift and Devops from Developer side
 

Dernier

EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 

Dernier (20)

Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 

JBoss Fuse Workshop 101 part 4

  • 1. JBoss Fuse 101 Getting Started workshop Christina Lin JBoss Technology Evangelist clin@redhat.com
  • 2. RED HAT CONFIDENTIAL | ADD NAME2 Working with Beans (POJO) Where should my real business logic go? How does it work with my Integration code in Camel? Do I need to change my old code?
  • 3. RED HAT CONFIDENTIAL | ADD NAME3 Working with Beans
  • 4. RED HAT CONFIDENTIAL | ADD NAME4 Working with Beans Camel Context Registry POJO POJO POJO POJO POJO Ref Ref
  • 5. RED HAT CONFIDENTIAL | ADD NAME5 Working with Beans Registry SimpleRegistry JNDIRegistry ApplicationContextRegistry OsgiServiceRegistry Map-based registry Testing and standalone JNDI-based Spring ENV OSGi ENV
  • 6. RED HAT CONFIDENTIAL | ADD NAME6 Working with Beans Camel Context POJO1. Create your bean Registry 2. Register in registry 3. Reference bean in Route <bean id="helloBean" class=”blogdemo.HelloBean"/> Package blogdemo; public class HelloBean{ public String hello() {} public void sayHelloTo(String name) { return “Hello ”+name; } } <bean ref="helloBean" method=”sayHelloTo"/>
  • 7. RED HAT CONFIDENTIAL | ADD NAME7 Working with Beans PROCESS package org.blogdemo; import org.apache.camel.Processor; public class MyProcessor implements Processor { public void process(Exchange exchange){} } BEAN
  • 8. RED HAT CONFIDENTIAL | ADD NAME8 POJO My 4th Camel Ride JSON XML $ AMQ