Submit Search
Upload
Apache HISE + Apache Camel
•
Download as ODP, PDF
•
3 likes
•
1,382 views
Rafal Rusin
Follow
Task Handling Using Open Source Components (Apache HISE, Apache Camel)
Read less
Read more
Technology
Report
Share
Report
Share
1 of 16
Download now
Recommended
MongoDB Live Hacking
MongoDB Live Hacking
Tobias Trelle
TechDays 2016 - Case Study: Azure + IOT + LoRa = ”Leven is Water”
TechDays 2016 - Case Study: Azure + IOT + LoRa = ”Leven is Water”
Rick van den Bosch
Android GRPC
Android GRPC
Thao Huynh Quang
Introduction to JSON & AJAX
Introduction to JSON & AJAX
Raveendra R
Cloud Development with Camel and Amazon Web Services
Cloud Development with Camel and Amazon Web Services
Robin Howlett
Language Resource Processing Configuration and Run
Language Resource Processing Configuration and Run
mario_munoz
Akka with Scala
Akka with Scala
Oto Brglez
Services Stanford 2012
Services Stanford 2012
Yuriy Gerasimov
Recommended
MongoDB Live Hacking
MongoDB Live Hacking
Tobias Trelle
TechDays 2016 - Case Study: Azure + IOT + LoRa = ”Leven is Water”
TechDays 2016 - Case Study: Azure + IOT + LoRa = ”Leven is Water”
Rick van den Bosch
Android GRPC
Android GRPC
Thao Huynh Quang
Introduction to JSON & AJAX
Introduction to JSON & AJAX
Raveendra R
Cloud Development with Camel and Amazon Web Services
Cloud Development with Camel and Amazon Web Services
Robin Howlett
Language Resource Processing Configuration and Run
Language Resource Processing Configuration and Run
mario_munoz
Akka with Scala
Akka with Scala
Oto Brglez
Services Stanford 2012
Services Stanford 2012
Yuriy Gerasimov
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
Fwdays
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
Florian Wilhelm
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdf
SeasiaInfotech2
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
Stephanie Beckett
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
Rizwan Syed
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
Mark Billinghurst
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
2toLead Limited
Training state-of-the-art general text embedding
Training state-of-the-art general text embedding
Zilliz
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Wonjun Hwang
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
Hervé Boutemy
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
Addepto
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Mark Simos
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
gvaughan
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
BookNet Canada
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
Lorenzo Miniero
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
BookNet Canada
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
Fwdays
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Safe Software
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
UiPathCommunity
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
Padma Pradeep
2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
Marius Sescu
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Expeed Software
More Related Content
Recently uploaded
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
Fwdays
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
Florian Wilhelm
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdf
SeasiaInfotech2
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
Stephanie Beckett
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
Rizwan Syed
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
Mark Billinghurst
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
2toLead Limited
Training state-of-the-art general text embedding
Training state-of-the-art general text embedding
Zilliz
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Wonjun Hwang
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
Hervé Boutemy
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
Addepto
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Mark Simos
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
gvaughan
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
BookNet Canada
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
Lorenzo Miniero
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
BookNet Canada
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
Fwdays
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Safe Software
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
UiPathCommunity
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
Padma Pradeep
Recently uploaded
(20)
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdf
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
Training state-of-the-art general text embedding
Training state-of-the-art general text embedding
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
Featured
2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
Marius Sescu
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Expeed Software
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
Pixeldarts
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
marketingartwork
Skeleton Culture Code
Skeleton Culture Code
Skeleton Technologies
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
contently
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Albert Qian
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
SpeakerHub
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
Getting into the tech field. what next
Getting into the tech field. what next
Tessa Mero
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
Introduction to Data Science
Introduction to Data Science
Christy Abraham Joy
Time Management & Productivity - Best Practices
Time Management & Productivity - Best Practices
Vit Horky
The six step guide to practical project management
The six step guide to practical project management
MindGenius
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
RachelPearson36
Featured
(20)
2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
Skeleton Culture Code
Skeleton Culture Code
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Getting into the tech field. what next
Getting into the tech field. what next
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
How to have difficult conversations
How to have difficult conversations
Introduction to Data Science
Introduction to Data Science
Time Management & Productivity - Best Practices
Time Management & Productivity - Best Practices
The six step guide to practical project management
The six step guide to practical project management
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Apache HISE + Apache Camel
1.
Task Handling Using Open Source Components (Apache HISE, Apache Camel) Rafał Rusin rr@touk.pl Warsjava 20101023 info@touk.plinfo@touk.pl
2.
Introduction to WS Human Task Introduction to WS Human Task ► Specification describes an XML language to enable the integration of human beings in SOA systems ► Human tasks are services "implemented" by people, like transation service or approval service ►
Human task definition (htd) specifies various task properties, like task name, people assignments (potential owners, administrators), task renderings (to present task subject and contents), timeouts, escalations and notifications.
3.
WS Human Task ExampleWS Human Task Example ► Creating sample Human Task Definition (HTD file) <htd:humanInteractions> <htd:tasks> <htd:task name="ClaimsHandling"> <htd:interface
portType="tns:ClaimsHandlingPT" operation="approve" responsePortType="tns:ClaimsResolvingPT" responseOperation="resolve"/> <htd:peopleAssignments> <htd:potentialOwners> <htd:from> <htd:literal> <htd:organizationalEntity> <htd:users> <htd:user>Fred</htd:user> </htd:users> </htd:organizationalEntity> </htd:literal> </htd:from> </htd:potentialOwners> </htd:peopleAssignments> ...
4.
WS Human Task ExampleWS Human Task Example ► Defining Task presentation (Subject and Description) <htd:presentationElements> <htd:name xml:lang="en-US">
Approve Claim </htd:name> <htd:presentationParameters> <htd:presentationParameter name="firstname" type="xsd:string"> xs:string(htd:getInput("ClaimApprovalRequest")/cla:cust/cla:firstname) </htd:presentationParameter> ... </htd:presentationParameters> <htd:subject xml:lang="en-US"> Approve the insurance claim for PLN {$euroAmount} on behalf of {$firstname {$lastname} </htd:subject> <htd:description xml:lang="en-US" contentType="text/plain"> Approve this claim following corporate guideline #4711.0815/7 for {$firstname} {$lastname} </htd:description> </htd:presentationElements>
5.
WS Human Task ExampleWS Human Task Example ► Specifying outcome to external system on Task completion <htd:outcome> <![CDATA[ <cla:resolve> <claimId>{htd:getInput("ClaimApprovalRequest")/cla:cust/cla:id/text()}</claimId> <ok>{$outcome}</ok> </cla:resolve> ]]> </htd:outcome>
6.
Task OperationsTask Operations ► Task Operations Service is specified in WSDL format ● It contains 74 operations to perform by various types of users, like Task Owners, Business Administrators, etc. ●
Authentication is required to access those operations (for example WS Security) ► Example operation ● listing tasks <xsd:getMyTasks> <xsd:taskType>ALL</xsd:taskType> <xsd:genericHumanRole>ACTUALOWNER</xsd:genericHumanRole> <xsd:maxTasks>10</xsd:maxTasks> </xsd:getMyTasks>
7.
Task Operations: Basic Task LifecycleTask Operations: Basic Task Lifecycle ► Basic Task lifecycle consists of claim, start and complete operations performed by Task Operator <xsd:claim> <xsd:identifier>123</xsd:identifier> </xsd:claim> <xsd:start> <xsd:identifier>123</xsd:identifier> </xsd:start> <xsd:complete> <xsd:identifier>123</xsd:identifier> <xsd:taskData>someOutputData</xsd:taskData> </xsd:complete>
8.
Task Operations: Advanced LifecycleTask Operations: Advanced Lifecycle ► Task Operations allow various operations. Examples are: Forwarding, Nomination, Suspend / Resume, Suspend Until ► Additional operations are: Managing Attachments, Renderings, Task Priority, Querying tasks using where clause
9.
Apache HISE Apache HISE WS Human Task ImplementationWS Human Task Implementation ► HISE is Human Interactions Service Engine http://incubator.apache.org/hise ► Why Open Source? ●
We believe it's better to not reinvent wheel in each project dealing with tasks handling ● We feel it's better to start from existing project instead of developing Task Handling engine from scratch ● We accept extensions to suit needs for various projects requirements
10.
Apache HISE InstallationApache HISE Installation ► What's inside: ● Engine (JPA based, H2 Database by default) ●
Camel Integration ● GWT Frontend for Task Operators ► Detailed instructions are in User Guide ● http://incubator.apache.org/hise/userguide.xhtml ► WAR Distribution ● Unzip and put htd files in WEBINF directory ► ServiceMix 4 OSGi Distribution ● features:install hiseh2testexampleosgi ► GWT Frontend in separate web application (WAR)
11.
Apache HISEApache HISE Claims Handling ExampleClaims Handling Example ► Detailed instructions are in User Guide ● http://incubator.apache.org/hise/userguide.xhtml ►
WAR Distribution ● Unzip and put htd files in WEBINF directory ► ServiceMix 4 OSGi Distribution ● features:addUrl mvn:org.apache.hise/hisekaraf/1.0.0 SNAPSHOT/xml/features ● features:addUrl mvn:org.apache.hise.examples/claims handlingkaraf/1.0.0SNAPSHOT/xml/features ● features:install claimshandlingexampleosgi
12.
Apache HISEApache HISE Claims Handling ExampleClaims Handling Example ► We pick ServiceMix 4 OSGi example ► Task Operations is exposed under ●
http://localhost:8181/cxf
13.
Apache HISE Camel IntegrationApache HISE Camel Integration ► Camel integration is done using simple Camel Context ► HISE exposes two direct Camel endpoints for each Task <bean
id="hiseRouteBuilder" class="org.apache.hise.engine.store.HISERouteBuilder"> <property name="humanInteractionsResource" value="classpath:Htd1.xml"/> <property name="hiseEngine" ref="hiseEngine"/> <property name="transactionManager" ref="transactionManager"/> </bean> <camel-osgi:camelContext id="camelContext" xmlns="http://camel.apache.org/schema/spring"> <routeBuilder ref="hiseRouteBuilder"/> <route> <from uri="file:input?delete=true" /> <to uri="direct:ClaimsHandling"/> </route> <route> <from uri="direct:ClaimsResolving"/> <to uri="file:output"/> </route> </camel-osgi:camelContext>
14.
Apache HISEApache HISE Claims Handling ExampleClaims Handling Example ► After installing example, we can copy approve.xml file to input directory to create a task ► Then, we can resolve it using either call to Task Operations Web Service or GWT frontend ►
After Task is processed, outcome is sent to output directory (as specified in Camel Context) <message xmlns:cla="http://www.insurance.example.com/claims"> <cla:cust> <cla:id>123</cla:id> <cla:firstname>Edmund</cla:firstname> <cla:lastname>Zorn</cla:lastname> </cla:cust> <cla:amount>1234</cla:amount> <cla:region>usa</cla:region> <cla:prio>2</cla:prio> <cla:activateAt>2009-01-02T12:00:00</cla:activateAt> </message>
15.
Apache HISE – GWT FrontendApache HISE – GWT Frontend ► We can manipulate tasks using GWT Frontent application. Following screenshot shows how it looks like
16.
Apache HISE Apache HISE Future Plans & SummaryFuture Plans & Summary ► Release 1.0 version (it's almost out) ► Extend Camel usage ●
We plan to expose Task Operations directly over Camel ► Adding Forms to GWT Frontend using Renderings ► Simplify GWT Frontent by integrating directly with Camel ► Our community is growing. We have 7 current committers and 3 pending to vote. ► HISE has commercial application (it's running in production)
Download now