Archive for August, 2009
Monday, August 31st, 2009
Last week, I implemented a simple interceptor and included it in a Mule service. This gives me the ability to intercept a message just before it is passed on to the component. Mule has two types of interceptors – the standard interceptor I talked about, and the Envelope Interceptor
(more…)

If you enjoyed this post, make sure you subscribe to my RSS feed!
Tags: after, assertions, before, dispatch, envelopeInterceptor, FunctionalTestCase, interceptor, invocation, MuleClient, VM endpoints
Posted in Mule | 2 Comments »
Thursday, August 27th, 2009
The idempotent router allows you to make sure that multiple messages with the same ID are not re-processed. While comfortable, the router needs to store the list of IDs somewhere and this list is only going to grow as time passes … unless the list is purged at some point.
(more…)

If you enjoyed this post, make sure you subscribe to my RSS feed!
Tags: createMessageIdStore, idempotent router, setEntryTTL, timeout
Posted in Mule | No Comments »
Monday, August 24th, 2009
Interceptors provide a mechanism by which you can interfere with the message flow in Mule. This makes them rather powerful and dangerous unless you know what you’re doing.
(more…)

If you enjoyed this post, make sure you subscribe to my RSS feed!
Tags: component factory, interceptor, invocation, MuleMessage, prototype-object
Posted in Mule | 5 Comments »
Thursday, August 20th, 2009
While most people know that the CXF transport has lots to offer and is more mature than the Axis transport in Mule, there are some times when you wonder whether Axis may be the better choice after all.
(more…)

If you enjoyed this post, make sure you subscribe to my RSS feed!
Tags: axis, CXF, Doc/Lit, MuleESB, RPC/Encoded, web services
Posted in Mule | 1 Comment »
Monday, August 17th, 2009
I’ve blogged about the entry point mechanism before but have not talked about the default mechanism in any detail.
(more…)

If you enjoyed this post, make sure you subscribe to my RSS feed!
Tags: Callable, entry point resolver, EntryPointResolver, MuleEventContext, onCall
Posted in Mule | 3 Comments »
Thursday, August 13th, 2009
One question that is often asked (directly or indirectly) on the Mule forums relates to transformation. Some people are unsure whether transformation should be done on the inbound endpoint or the outbound endpoint and some others think that it is the same thing. This post attempts to clarify all this.
(more…)

If you enjoyed this post, make sure you subscribe to my RSS feed!
Tags: default transformation, filter, inbound endpoint, inbound flow stage, interceptor, outbound endpoint, router, transformations
Posted in Mule, user list | No Comments »
Monday, August 10th, 2009
I’ve written about the Chaining Router before but wanted to take a closer look at the significance of the last endpoint in the chain.
(more…)

If you enjoyed this post, make sure you subscribe to my RSS feed!
Tags: asynchronous, ChainingRouter, endpoint, synchronous
Posted in Mule | No Comments »
Thursday, August 6th, 2009
Any exception raised when a transaction is in progress will cause the transaction to fail, right? If a transaction is available and something happens, you’d want to roll everything back, wouldn’t you?
In Mule, you can sometimes choose not to and this blog post explains how.
(more…)

If you enjoyed this post, make sure you subscribe to my RSS feed!
Tags: default-service-exception-strategy, exception, transaction
Posted in Mule | 1 Comment »
Monday, August 3rd, 2009
When using JMS endpoints, it often is comfortable to set the attribute on an endpoint so that replies to a synchronous message flow get directed to an alternative endpoint. This is most common in situations where you’re splitting a request up into multiple flows and want all replies to be directed to an asynch-reply-router (See the Loan Broker example for a good instance of this). When you add transactions to the message flow, this behaviour changes and I wanted to talk about this.
(more…)

If you enjoyed this post, make sure you subscribe to my RSS feed!
Tags: reply-to, transaction
Posted in Mule | No Comments »