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 [...]
October 21st, 2009 |
by akoelewijn |
published in
oss, soa
Here’s a quick example (thx enno) how you can unit test an smtp endpoint in Mule using subethasmtp Wiser.
We’ll start by creating a new mule project using maven:
mvn mule-project-archetype:create -DgroupId=nl.iteye \
-DartifactId=mule-mail -DmuleVersion=2.2.1 -Dinteractive=false \
-Dtransports=smtp,vm -Dmodules=
If you have problems with dependencies when you run mvn compile, here’s a blog post that will [...]
October 18th, 2009 |
by akoelewijn |
published in
oss, soa
A coworker found a message on the mule-user mailing list that said that you have to apply response transformers on inbound endpoints, not on outbound endpoints. Sounds a bit weird to me, at least not very intuitive. Time for a test.
Response transformer in a pass-through-router
Here’s the mule config:
<?xml version="1.0" encoding="UTF-8"?>
<mule xmlns="http://www.mulesource.org/schema/mule/core/2.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:http="http://www.mulesource.org/schema/mule/http/2.2" xmlns:vm="http://www.mulesource.org/schema/mule/vm/2.2"
xmlns:scripting="http://www.mulesource.org/schema/mule/scripting/2.2"
xsi:schemaLocation="
http://www.mulesource.org/schema/mule/scripting/2.2
http://www.mulesource.org/schema/mule/scripting/2.2/mule-scripting.xsd
http://www.mulesource.org/schema/mule/core/2.2
http://www.mulesource.org/schema/mule/core/2.2/mule.xsd
http://www.mulesource.org/schema/mule/http/2.2
http://www.mulesource.org/schema/mule/http/2.2/mule-http.xsd
http://www.mulesource.org/schema/mule/vm/2.2
http://www.mulesource.org/schema/mule/vm/2.2/mule-vm.xsd">
<scripting:transformer [...]
March 30th, 2009 |
by akoelewijn |
published in
soa
Small tip if you are using synchronous endpoints in MULE: last week I was trying to create a webservice proxy in MULE, but couldn’t get it to work. When calling the webservice endpoint as provided by MULE, no result would be displayed. Turns out, unlike specified on the Mule Messaging Style page, even for the [...]