API evolution is something absolutely non-trivial. Something that only few have to deal with. Most of us work on internal, proprietary APIs every day.
I needed to handle an http post that would carry not one but N > 1 uploaded files. And then came Mule into my life, and this task became as simple as navigating the properties of a MuleMessage interface. Let’s explain a little bit….
There are many ways to expose an HTTP endpoint in Camel: jetty, tomcat, servlet, cxfrs and restlet. Two of these components - cxfrs and restlet also support REST semantics just with few lines of code. This simple example demonstrates how to do CRUD operations with camel-restlet and camel-jdbc.
Don’t be lazy and try to make too generic repositories. It gives you no upsides compared to using the OR/M directly. If you want to use the repository pattern, make sure that you do it properly.
SOA is hard. Learn how Square is approaching this problem today with JRuby and where we hope to be in the future. We'll go from git init to cap deploy, covering Square's approach to testing and service isolation, dependency management, API documentation, code quality metrics, and more.
As promised I’m going to show a test case for which I have used Citrus to implement it. n a predefined folder on a machine a character-separated file is placed. This file is picked up by our Mule ESB application...
Recently, I ran into an open-source test framework called Citrus. Citrus supports you in testing message interfaces in enterprise applications. Manual testing effort as well as coding mocks and simulators are not necessary.
See how to log onto the server log file, log a message and log a specific property on the WSO2 ESB.
I'd really like to redo this with a micro-framework for routing and the PHP client libraries to handle emitting TwiML - but exactly what is going on might be less clear.
You want to get more done in 2013 so you’re going to need to switch from synchronous to asynchronous processing to do more with the same resources.
SAML 2.0 Bearer Assertion Profile which is built on top of OAuth 2.0 Assertion Profile defines the use of a SAML 2.0 Bearer Assertion as a means for requesting an OAuth 2.0 access token as well as for use as a means of client authentication.
Just some simple XML and you'll be creating custom dispatchers for WSO2 ESB. This example will create a Maven project
Over the next few weeks, I will tell you about all the discoveries I made in the project storm that made me skip blogging for three weeks. And today, we begin with some Akka AMQP client talking to RabbitMQ and C++ on the other end.
This blog post demonstrates how to use Camel to easily route files from one directory to another. Camel supports numerous other transport mechanisms and data formats that are not shown here.
Amazon now has a beta release for their Android Mobile App SDK Eclipse Plugin.
There are about 42 Amazon APIs in APIhub and by searching for them you can get an idea of the many amazon services you'll be able to harness if you're an Android developer.
This article looks at the intention behind the GoF patterns, coupled with the XP rules of Simple Design and Uncle Bob’s SOLID principles.
Although XMPP is most often used as a chat protocol, it can also provide a robust asynchronous communication channel in other application scenarios.
This post is all about JAX-RS: writing and exposing RESTful services using Java. We will use the awesome Apache CXF framework and as always rely on Spring to wire all pieces together.
This post is logical continuation of the previous one. The only difference is the container we are going to use: instead of Jetty it will be our old buddy Apache Tomcat. Surprisingly, it was very easy to embed the latest Apache Tomcat 7 so let me show that now.
It is fairly simple and straight forward to configure a robust highly-available messaging system using ActiveMQ with database persistence. Here's how you do it...
You can do the same things over XMPP that you can do from the interactive CLI session in RHQ. See how in this quick video.
I saw a question on the mailing list asking for a simple, stripped-down, version of ActiveMQ. The default distribution and all of its runtime dependencies come in at about 44MB. I was able to get a working, “lean” version going at about 7.4MB.
Configuring a Master/Slave ActiveMQ instance is easy. With one simple attribute you can create a highly available ActiveMQ messaging platform.
Currently I am adding some SAML related functionality to a Mule 3 implementation of one of our clients. To work with the SAML objects I make use of the OpenSAML library that is provided here as open source.
Hot on the heels of Isis’ first release as an Apache top-level project, we’ve now released a new security component that integrates with Apache Shiro.