Archive for November, 2009
Monday, November 30th, 2009
Last week, I blogged about an unusual error I encountered while coding and mentioned that I was not sure why this happened. I’ve since solved the problem and present the explanation to you here.
(more…)

If you enjoyed this post, make sure you subscribe to my RSS feed!
Tags: entry point resolver, exception, Mule, NoSatisfiableMethodsException
Posted in Case Study, Java, Mule | No Comments »
Thursday, November 26th, 2009
I was working with Component Bindings this week and ran into an unusual error. I had a simple class that had a single method which accepts a String parameter. I had a test case that I was building around the class and around its use within a service in Mule. All worked well. Then I tried to add the element to the component like so:
(more…)

If you enjoyed this post, make sure you subscribe to my RSS feed!
Tags: Component Bindings, entry point resolver, NoSatisfiableMethodsException
Posted in Case Study, Mule | 1 Comment »
Monday, November 23rd, 2009
I was working together with the good people at the Control Group recently and had a requirement to be able to selectively change the log4j setting in Mule. Specifically, they wanted to be able to have a running instance of Mule suddenly switch from, say, ERROR to DEBUG while they diagnose some problem with a message flow and then turn the log4j setting back to ERROR.
(more…)

If you enjoyed this post, make sure you subscribe to my RSS feed!
Tags: DEBUG, INFO, log4j, logging
Posted in Case Study, Java, Mule | 2 Comments »
Thursday, November 19th, 2009
In integration, there often are situations when the same message is delivered more than once. Perhaps someone hit a re-send button, perhaps there was a failure in communication and all the messages were re-sent (even the ones that originally made it through) or perhaps some process decided to keep sending the same message. Whatever caused it, there are instances when processing this message multiple times could be dangerous. Think of a credit card payment, for instance. This post examines how to avoid this situation in Mule.
(more…)

If you enjoyed this post, make sure you subscribe to my RSS feed!
Tags: expressions, idempotent-receiver-router, inbound router
Posted in Mule | 2 Comments »
Monday, November 16th, 2009
I’ve written a number of blog posts in recent weeks about Mule’s flexible entry-point resolver (EPR) mechanism but while the posts have shed light on how the various options work, I haven’t commented on when to best use different EPRs. This post puts this straight.
(more…)

If you enjoyed this post, make sure you subscribe to my RSS feed!
Tags: array-entry-point-resolver, callable-entry-point-resolver, entry point resolver, method-entry-point-resolver, no-args-entry-point-resolver, property-entry-point-resolver
Posted in Mule | 1 Comment »
Thursday, November 12th, 2009
One interesting feature that I have rarely used in Mule 2 is the ability to have multiple entry point resolvers (EPRs) configured in a single model. This was unavailable in Mule 1 and is a rather neat way of combining multiple EPRs inside a single model rather than split your configuration into multiple models.
(more…)

If you enjoyed this post, make sure you subscribe to my RSS feed!
Tags: entry-point-resolver-set, TooManySatisfiableMethods
Posted in Mule | 1 Comment »
Thursday, November 5th, 2009
With all the recent posts about entry point resolvers, I’ve shown how you can invoke a method based upon a number of techniques like using the method name but in each case, my examples had methods that contained one single input parameter. What if my methods have multiple arguments?
(more…)

If you enjoyed this post, make sure you subscribe to my RSS feed!
Tags: array-entry-point-resolver, arrays, multiple parameters
Posted in Mule | No Comments »
Monday, November 2nd, 2009
In the good old days of Mule 1.x, any component that wanted to be aware of its configured state could implement the UMODescriptor interface and get whatever information was needed. This interface is no longer available in Mule 2 but there is a org.mule.api.service.ServiceAware interface that can provide the same sort of information.
(more…)

If you enjoyed this post, make sure you subscribe to my RSS feed!
Tags: control message, Service, ServiceAware
Posted in Mule | 4 Comments »