Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Using Red Hat JBoss Fuse on Openshift

Using Red Hat JBoss Fuse on Openshift

APAC Red Hat Technical Exchange Presentation for Red Hat JBoss Fuse 6.1 on Openshift

Kenneth Peeples

May 28, 2014
Tweet

More Decks by Kenneth Peeples

Other Decks in Technology

Transcript

  1. Introduction Red Hat JBoss Technology Evangelist for Integration Products, mainly

    Fuse Service Works and Data Virtualization Prior Red Hat Consultant for Department of Defense and Intelligence Community Blog at ossmentor.com and Twitter @ossmentor Upcoming Events – Cloud Integration http://www.meetup.com/CloudIntegration/events/188418552/ – DC-JBUG http://www.meetup.com/DC-JBug/events/179250202/
  2. Session Overview OpenShift Online automates the provisioning, management, and scaling

    of applications so that you can focus on development and creativity. The newly created Red Hat JBoss Fuse 6.1 cartridge allows you to use Fuse and Fuse Fabric in the OpenShift Online public cloud. JBoss Fuse provides a full- featured, easy-to-use and intuitive framework for integration with extensive connectivity options to external applications. You will learn: – How to install the Fuse cartridge. – How to access and use the Fuse Management Console. – How to deploy and test a Fuse bundle.
  3. Agenda • Red Hat OpenShift Overview • Red Hat JBoss

    Fuse 6.1 Overview • Installing the Fuse Cartridge • Accessing and Using the Unified Management Console • Deploying and Testing a Fuse Application
  4. Why Platform as a Service? • Start quickly, iterate quickly

    • Manages the cloud & app stack for you • Lets you focus on code & customers Code Deploy Enjoy Save Time and Money Code your app Push-button Deploy, and your App is running in the Cloud!
  5. • Create an account • Install the client tools •

    Choose a namespace • Create an application • Choose a language • Choose a name • Add cartridges • Push code with Git How do I use it?
  6. • 150+ connectors • AMQP 1.0 support • Unified management

    console • Integration in cloud - OpenShift cartridge (preview only) • Improved HA with LevelDB (preview only) Red Hat JBoss Fuse and A-MQ 6.1 Overview
  7. JBoss Fuse Integration Product line Additive capabilities to fit different

    use cases A-MQ Fuse Fuse Service Works Messaging Fuse ESB Messaging Fuse ESB Service Development Service Orchestration Service Governance Message Bus Integrate applications, devices by notification or exchange of data using multiple protocols in any runtime Service Bus Mediate, transform, route and connect between loosely coupled components and services using enterprise integration patterns Service & Integration Platform Develop and choreograph services, manage lifecycle, define and enforce service policy and monitor service activity
  8. Red Hat JBoss Fuse ESB Cartridge JBoss Fuse on OpenShift

    is available as a Developer Preview to allow you to explore the capabilities of Apache ActiveMQ messaging and Apache Camel integration framework running on OpenShift. This preview is based on the JBoss Fuse 6.1 supported release but as a preview it does not come with guaranteed support. Your configurations should be able to change along with them and with JBoss Fuse you can alter configurations while your connections are running. Deploy or update services easily while JBoss Fuse is running.
  9. What does it mean that this is an “Alpha” cartridge?

    JBoss Fuse on OpenShift is based on a pre-release version of JBoss Fuse 6.1 and like any pre-release software its constantly undergoing testing and improvements on its way to general availability. So the “Alpha” cartridge is targeted at production use cases but not production supported at this time. What will the performance be like in a small gear? If you choose to run Fuse in a small gear you will experience slower performance as tasks take a little bit longer to complete. For instance, when you create a new container, that process may take one or two minutes rather than create in a matter of seconds if you’re using a small gear.
  10. • Demonstration 1 – SOAP Service (During the Presentation) This

    demonstrates how to create a SOAP Web service with Apache CXF and expose it through the OSGi HTTP Service. https://github.com/jboss-fuse/quickstarts/tree/master/soap • Demonstration 2 – REST Service (During the Presentation) This demonstrates how to create a RESTful (JAX-RS) web service using CXF and expose it with the OSGi HTTP Service. https://github.com/jboss-fuse/quickstarts/tree/master/rest • Demonstration 3 – Loan Broker (After presentation for homework) This demo shows JBoss Fuse 6.1 Early Access running on a OpenShift Online. This video shows how to create Fuse on OpenShift Online, then create an ActiveMQ message broker cluster and the provision the loan broker demo (which is implemented via Camel routes). Then how to view whats happening inside the system via logs, queues or camel routes. The entire demo is shot using Google Chrome accessing the both the OpenShift site and the Fuse Management Console which is implemented via the hawtio open source project (hawt.io/) https://vimeo.com/84689880 • Fuse on Openshift with MQTT (After presentation for homework) http://wei-meilin.blogspot.com/2014/05/red-hat-openshift-xpaas-simple-mqtt.html and http://wei-meilin.blogspot.com/2014/06/red-hat-openshift-xpaas-simple-mqtt.html Demonstrations
  11. SOAP and REST Service Demonstration Step 1: Create an Application

    which will contain the management console Step 2: Add SOAP and REST quickstarts within the application profile or create new containers with the quickstart Step 3: Click on the API list to see the REST and SOAP endpoints Step 4: Open the containers to see the log and bundle Step 5: Send a SOAP message and look at the log – Use SOAPUI within JBDS Step 6: Send a REST Message and look at the log – Use the Chrome plugin
  12. References https://vimeo.com/86621055 https://www.openshift.com/blogs/jboss-fuse-on-openshift-how-to-connect-to-twitter https://www.openshift.com/quickstarts/jboss-fuse-61 https://www.openshift.com/get-started https://www.openshift.com/developers/jboss-fuse/getting-started https://www.openshift.com/videos/getting-started-with-jboss-fuse-on-openshift JBoss Fuse iPaaS

    on OpenShift: Getting Started - https://vimeo.com/91029260 JBoss Fuse iPaaS on OpenShift Getting Started -- Part 2 - https://vimeo.com/91029441 JBoss Fuse iPaaS on OpenShift Part I: Intro to the Loan Broker Example - https://vimeo.com/91029860 JBoss Fuse iPaaS on OpenShift Part II: Creating ActiveMQ Brokers - https://vimeo.com/91029861 JBoss Fuse iPaaS on OpenShift Part III: Creating containers, Camel, and the bank demo - https://vimeo.com/91030052 JBoss Fuse iPaaS on OpenShift Part IV: Creating a network of ActiveMQ brokers - https://vimeo.com/91030053 JBoss Fuse iPaaS on OpenShift Part V: Connecting up to a network of brokers - https://vimeo.com/91030054 JBoss Fuse iPaaS on OpenShift Part VI: Failover, failback - https://vimeo.com/91030055 http://openshift.github.io/documentation/oo_system_architecture_guide.html