Beruflich Dokumente
Kultur Dokumente
February 3, 2015
Copyright © Media Driver, LLC 2013. All Rights Reserved
2
About Your Presenter
February 3, 2015
Copyright © Media Driver, LLC 2013. All Rights Reserved
3
EIP Background
JMS/STOMP/NMS/MQTP
JBoss Developer Studio publish/subscribe, point-to-point, store and forward
including JBoss Operations
JBoss Fuse IDE Apache ActiveMQ Network (JON)
February 3, 2015
Copyright © Media Driver, LLC 2013. All Rights Reserved
5
Container
February 3, 2015
Copyright © Media Driver, LLC 2013. All Rights Reserved
6
Container
• Features include
• Hot deployment of OSGi bundles, jar’s, war’s, Spring and Blueprint XML files
• Dynamic configuration of bundles
• Comprehensive Logging System
• Native Maven-based Provisioning
• Native OS integration
• Extensible Shell console via SSH
• Remote access via JMX
• Security framework based on JAAS
• Multi-Instance Management
February 3, 2015
Copyright © Media Driver, LLC 2013. All Rights Reserved
7
Fabric
February 3, 2015
Copyright © Media Driver, LLC 2013. All Rights Reserved
9
Integration Framework
• FuseIDE
• Eclipse-based
• Fuse Fabric Perspective
• Fuse Route Editor (route constructive via “blocks and lines”)
• Management
• Fuse Management Console
• JBoss Operations Network (JON)
February 3, 2015
Copyright © Media Driver, LLC 2013. All Rights Reserved
14
Best Practices
• Break out all DB access (as data sources) into separate OSGi bundles
• One bundle per DB data source
• Allows for granular management
• Promotes reuse by other applications
• Register Data Sources as services in OSGi Registry
• Decouples concrete implementation from service consumers
• Provides for filtered-based lookups
• Take similar approach for ConnectionFactories to messaging systems
• A-MQ / WebLogic / WebSphere MQSeries
• Utilize Built-in Property Management capabilities of Fuse ESB
• Allows for the definition of default properties
• Flexible means to override
• Very useful for deployment between environments (DEV/TEST/PROD)
February 3, 2015
Copyright © Media Driver, LLC 2013. All Rights Reserved
15
Demo – EIP Diagram
Currency Converter
Order Intake Service Endpoint Service Endpoint
February 3, 2015
Copyright © Media Driver, LLC 2013. All Rights Reserved
16
JBoss Fuse Demo
February 3, 2015
Copyright © Media Driver, LLC 2013. All Rights Reserved
17
Extending the Integration Framework
February 3, 2015
Copyright © Media Driver, LLC 2013. All Rights Reserved
19
Key Elements of a Custom Component
Component
creates
Endpoint
creates creates
Consumer Producer
February 3, 2015
Copyright © Media Driver, LLC 2013. All Rights Reserved
20
URI Notation
activemq:topic:quotes?explicitQosEnabled=true&priority=9
|_____________||________________||_________________________________________________|
| | |
scheme context options
• Scheme
• Identifies the component that handles this type of endpoint
• Context / Path
• Identifies the location of the source of messages
• Options
• Optional details that characterize the message handling
• You will define the URI notation for custom component
• May ultimately drive design decision, so it’s important to understand
February 3, 2015
Copyright © Media Driver, LLC 2013. All Rights Reserved
21
Custom Component Maven Project
February 3, 2015
Copyright © Media Driver, LLC 2013. All Rights Reserved
22
Select Resources
February 3, 2015
Copyright © Media Driver, LLC 2013. All Rights Reserved
23
JBoss Fuse Overview
Q and A