February 21st, 2011 |
by akoelewijn |
published in
java, oss
Here’s a quick example how to create a camel route that creates a route from an ActiveMQ topic. It uses a selector to receive a subset of all messages. To test this you should start ActiveMQ in the unit test. The test itself uses a mock endpoint to specify how many messages you expect, and [...]
June 21st, 2010 |
by akoelewijn |
published in
java, oss, soa
I’m running ServiceMix on a machine which doesn’t have internet access, so installing and upgrading features is a bit hard. You can, however, install features from an internal maven repository like Nexus. This post explains how you can configure which maven repositories should be used by ServiceMix. The OSGI implementation of ServiceMix (Apache Felix/Karaf) has [...]
June 15th, 2010 |
by akoelewijn |
published in
java, oss, soa
Apache ServiceMix 4.2 includes Apache Camel 2.2.0. The following steps outline how you can add Apache Camel 2.3.0 in the same ServiceMix instance. This example uses the versions as released by Progress Fuse. Go to the ServiceMix console, either by starting servicemix, or by ssh-ing into ServiceMix. To install Camel 2.3 we need to add [...]
June 13th, 2010 |
by akoelewijn |
published in
java, oss, soa, web
The following example illustrates how you can implement a composite service using Apache Camel. The service is exposed as a REST resource, and it uses two other resources to collect the data required. The composite service will enable a client to get info on a customer and it’s orders. To get this data the composite [...]
March 9th, 2010 |
by akoelewijn |
published in
java, oss, software development
Nexus is a maven repository manager. You can use Nexus to host your own maven repository for artifact created in your company, or for caching external artifacts. Getting started with Nexus is pretty easy. Download the application. The package contains a webserver, so you don’t have to have a java container running. Simply unpack the [...]
March 4th, 2010 |
by akoelewijn |
published in
java, oss, soa
I ran into the following problem yesterday while building a rest service using resteasy: the code would compile ok, but the unit tests wouldn’t run. I got the following exception in the output of the unit tests: The problem is caused by the javeee-api dependency in my maven pom. As described here, the following dependency [...]
January 8th, 2010 |
by akoelewijn |
published in
oss, software development
Use the following to configure git to use diffmerge for diffing and merging files: The following will show diffmerge with the two versions of myfile.java side by side:
January 5th, 2010 |
by akoelewijn |
published in
cloud, mobile, oss, web
Google used to be a search company making profit on adds. Today’s release of the Nexus One ‘superphone’ illustrates that Google is turning into the next Microsoft: a supplier of software platforms and applications. The Nexus One isn’t a phone, it’s a device to access the web. It’s just another Operating System to use applictions, [...]
November 19th, 2009 |
by akoelewijn |
published in
open standards, oss
Lots of news on Chrome OS today, but nothing to suprising as far as i can tell. Chrome OS is basically just an operating system than boots straight into a (full screen) browser. All your apps will be web apps. Seems logical. Most of the time i just boot my computer to get online: read [...]
November 4th, 2009 |
by akoelewijn |
published in
java, oracle, oss, soa
I did a small proof of concept yesterday: a wicket web application using embedded Mule to connect to some services. Problem is that it had to run on OC4J 10.1.3.4.0 with Java 5. Got it running pretty fast, some tips: Oracle’s xml parser didn’t like some of Mule’s xsd files. You can solve this by [...]