Skip to main content

Posts

Showing posts with the label WSO2 ESB

Legacy platform modernization with WSO2 open source technology

Enterprise systems are the least changing component within a organization since those systems are complex and engineers have spent a lot of time building those. As long as it does the work, people are reluctant to play with those systems. But with the competitive nature of the economy and the diversified customer bases and customer requirements have made it mandatory to modernize these legacy systems. The below article discusses on how that can be achieved with WSO2 open source technology stack. https://medium.com/@chanakaudaya/modernize-your-legacy-enterprise-platform-with-wso2-open-source-technology-efe2fdcf2d3

How to build a CI/CD pipeline for WSO2 ESB (WSO2 EI)

Continuous Integration and Continuous Deployment (CI/CD) has become a core requirement within the enterprise IT ecosystem. It does not matter what type of software you develop (e.g. back-end services, UI/UX, APIs, middleware), you should be able to automate your development, test and deployment process. WSO2 ESB is one of the popular open source integration solutions available for implementing middleware services. The below mentioned medium post discusses how to implement a CI/CD pipeline with WSO2 ESB. https://medium.com/wso2-learning/how-to-build-a-ci-cd-pipeline-for-wso2-esb-wso2-ei-1f7ba3cc833d

Handling special characters in URLs with WSO2 ESB

Let’s say you have a URL which needs to send an email address as a query parameter. If you create a standard REST API within WSO2 ESB (or EI) and try to match the query parameter in uri-template, it will fail during the execution time. As an example, if you have the below API definition. <api xmlns="http://ws.apache.org/ns/synapse" name="EmailAPI" context="/voice"> <resource methods="POST GET" uri-template="/details?email={email}"> <inSequence> <log level="full"> <property name="EMAIL" expression="$url:email"/> </log> <respond/> </inSequence> </resource> <resource methods="POST GET" uri-template="/phone/{number}"> <inSequence> <log level="full"> <property name="PHONE" expression="$ctx:uri.var.number...

The Magic Bullet of Integration - WSO2 Enterprise Integrator (WSO2 EI)

Enterprise Application Integration (EAI) has been a challenging but mandatory requirement within any enterprise IT system. According to a recent survey, 60% of the digital transformation stories covers with integration requirements. So it is quite evident that, integration is an integral part of your digital transformation journey. If you are an experienced integration architect or a developer, you know about the plethora of vendors and solutions available in the market. They have different strengths and weaknesses. But we know for a fact that there is no “Silver Bullet” in the integration landscape. Even though that is the case, we have a “Magic Bullet” which can serve a lot of requirements (like the Magic Bullet Blender shown below) which you have in your integration project. Figure 1 : Magic Bullet (Source: Amazon.com) WSO2 has been building a collection of middleware products which can serve almost all the requirements which may occur in a digital transformation project (o...

What is WSO2 Store and what you can get from it?

WSO2 provides extensions to provide additional functionality which are not available with the OOTB product offerings. These extensions are hosted in the  WSO2 store . All the extensions can be downloaded for free and use without any cost. WSO2 Store provides 4 types of extensions to WSO2 platform. ESB Connectors - These are connectors which can be used to connect WSO2 ESB with popular cloud APIs as well as enterprise systems. Some examples are Salesforce, SAP, PeopleSoft, AS4. IS Connectors - These are connectors which can be used to connect WSO2 Identity Server (IS) with external Identity providers over different protocols. Some examples are OpenID Connect, Mobile Connect, SAML Authenticator, SMSOTP Analytics Extensions - These are extensions which can be used integrate different technologies with Siddhi query language which is used in WSO2 Data Analytics Server (Stream Processor). Some examples are R extension, Python extension, Javascript extension, PMML extension Integr...

WSO2 ESB usage of get-property function

What are Properties? WSO2 has a huge set of mediators but property mediator is mostly used mediator for writing any proxy service or API. Property mediator is used to store any value or xml fragment temporarily during life cycle of a thread for any service or API. We can compare “Property” mediator with “Variable” in any other traditional programming languages (Like: C, C++, Java, .Net etc). There are few properties those are used/maintained by ESB itself and on the other hand few properties can be defined by users (programmers). In other words, we can say that properties can be define in below 2 categories: ESB Defined Properties User Defined Properties. These properties can be stored/defined in different scopes, like: Transport Synapse or Default Axis2 Registry System Operation Generally, these properties are read by get-properties() function. This function can be invoked with below 2 variations. get-property(String propertyName) get-property(String scop...

WSO2 ESB 5.0.0 Beta Released

WSO2 team is happy to announce the beta release of the latest WSO2 ESB 5.0.0. This version of the ESB has major improvements to the usability aspects of the ESB in real production deployments as well as development environments. Here are the main features of the ESB 5.0.0 version. Mediation debugger  provides the capability to debug mediation flows from WSO2 developer studio tooling platform. It allows the users to view/edit/delete properties and the payload of the messages passing through each and every mediator. You can find more information about this feature at below post. How to Debug WSO2 ESB Mediation Flow INTRODUCTION WSO2 Enterprise Service Bus is a lightweight, high performance, and comprehensive ESB. 100% open source… nuwanpallewela.wordpress.com Data mapper  is the most awaited data transformation tool for WSO2 ESB. It allows users to load input/output message formats through xml files, json schemas or create them from the data mapper user interfa...

WSO2 ESB Passthrough Transport in a nutshell

If you have ever used WSO2 ESB, you might already know that it is one of the highest performing open source ESB solutions in the integration space. The secret behind it’s performance is the so-called Pass Through Transport (PTT) implementation which handles the HTTP requests. If you are interested in learning about PTT from scratch, you can refer the fololwing article series written by Kasun Indrasiri. Demystifying WSO2 ESB Pass-Through Transport - Part I Demystifying WSO2 ESB Pass-Through Transport - Part II Demystifying WSO2 ESB Pass-Through Transport - Part III If you read through the above mentioned posts, you can get a good understanding about the concepts and the implementation. But one thing which is harder to do is remember all the diagrams in your memory. It is not impossible, but little bit harder for a person with average brain. I have tried to draw a picture to capture all the required information related to the PTT. Here is my drawing on WSO2 ESB PTT. ...

WSO2 ESB Performance tuning for XSLT transformations

This blog post is a continuation of my performance tuning article series which you can find in this blog site. Today I will be talking about one of the heavily used component of the WSO2 ESB and how to tune the performance of ESB for transformation use cases. When we are doing transformation within ESB, we can use XSLT or FastXSLT mediators for doing complex transformations. The FastXSLT Mediator is similar to the XSLT mediator, but it uses the Streaming XPath Parser and applies the XSLT transformation to the message stream instead of to the XML message payload. The result is a faster transformation, but you cannot specify the source, properties, features, or resources as you can with the XSLT mediator. Therefore, the FastXSLT mediator is intended to be used to gain performance in cases where the original message remains unmodified. Any pre-processing performed on the message payload will not be visible to the FastXSLT mediator, because the transformation logic is applied o...

What is different in WSO2 ESB compare to other integrations solutions

In my previous post  , I have discussed about the facts you need to consider when selecting an integration solution for your enterprise IT infrastructure. I didn't provide any clue on what is the best vendor you can select since that depends on your requirements and budget and many other reasons. In this post, I will do a comparison between several open source and proprietary solutions and differentiate WSO2 ESB (my employer) features with them. Proprietary ESB  Pros  Suite of solutions included and work smoothly with each other (eg: CEP, BPEL, MB, Registry) Powerful and stable tooling and monitoring capabilities Excellent support for price Cons High price, High complexity Licensing and non-transparent pricing model Different components may come from different code bases acquired through different companies Heavy products Installation may need consultants and take more time Open source ESB Pros Simple installation and intuitive toolin...