In an earlier post I promised an example of where service integration bus mediations still have a role to play in a WebSphere ESB environment. WebSphere ESB currently only supports dynamic endpoints on an import or callout (those that can be changed at runtime by a mediation flow) for SCA and web service bindings. In this post I’ll show how a service integration bus mediation can be used to add dynamic behaviour to a JMS binding.
Today I was trying to work out why a WebSphere ESB customer wasn’t seeing the default deployment environment created when using manageprofiles to create a Network Deployment topology. They had specified the appropriate topologyPattern and topologyRole parameters. It turned out that they were missing the ndtopology option which should be set to true. This was perhaps excusable as the help for the template doesn’t list this option and even the InfoCenter documentation manages to get the case incorrect. As on previous occasions, I spotted this omission by running through the graphical Profile Management Tool and comparing the parameters that it generates in the invokeWSProfile entry near the top of the logs/manageprofiles/<profile_name>_create.log file.
As this has cropped up a couple of times recently and, as far as I’m aware, there is still no information in the public domain, I thought I’d stick my neck out and post about it. WebSphere Integration Developer allows you to add an event sequencing qualifier to components in a mediation module but the required runtime support for that qualifier only exists in WebSphere Process Server not in WebSphere ESB. In other words, for that qualifier to work, the mediation module must then be deployed to WebSphere Process Server.
Went along to see my UK colleague Andy Piper’s presentation on “Using Social Software to Improve Your Effectiveness at Work”. Andy’s an engaging speaker and his presentation was well thought out and put together. As a result I signed up for a twitter account but we’ll have to wait and see whether it gets much use let alone improving my effectiveness at work. It did also prompt me to revisit an internal file sharing tool which, having previously not realised that access could be restricted, I had discarded as much of the material I want to share is of a confidential nature.
The first slot of the day was one of those rare occasions where I wasn’t quite sure what to attend. In the end I opted for Alex Polozoff’s “Large Topology Tactics and Tradeoffs” presentation as I have great respect for his opinions. The emphasis here was not so much on the technology but the processes and the people. Most of it seemed common sense (at least to me) but the presentation should be a useful resource for anyone embarking on large scale WebSphere topologies.
Woke every couple of hours in the night but otherwise didn’t sleep too badly and managed to stay in bed until a reasonable time. Perhaps just as well as I was re-presenting my WebSphere ESB pitch first thing. Thankfully I hadn’t been given quite such a large stage to stand on this time! Some good questions from the audience to keep me on my toes.
It’s that time of year when IBM’s WebSphere Services and Support organisation (plus a whole host of interlopers) descend on Las Vegas for our annual technical conference. As usual, I didn’t take up the opportunity of spending more time here than is absolutely necessary and flew out yesterday. Norway doesn’t have the luxury of direct flights so I flew Continental from Oslo to Newark and from there to Vegas. The first flight was probably only half full which was a nice luxury. Sadly, it arrived an hour early and the flight to Vegas departed over an hour late so I had over six hours to kill at Newark and didn’t arrive at the Rio in Vegas until about half eleven.
There is a Redpaper which provides some excellent advice when it comes to tuning WebSphere ESB 6.0.2 for performance. However, you’ll have to wait a little bit for the Version 6.1 update. In the meantime, whilst all of the current best practice still stands, I thought I would post a couple of additional tips that are specific to the latest release.
I thought I’d post a few notes based on some experiences installing a network deployment environment of WebSphere ESB Version 6.1.
Having written a very similar exercise for the Connecting Enterprise Application to WebSphere Enterprise Service Bus ITSO Workshop, it was interesting to read Rich Johnson’s article on creating custom data bindings for the WebSphere Flat File adapter. In particular, the step required to actually add the custom data binding so that it shows up in the Enterprise Service Discovery wizard is not exactly obvious.
Couldn’t help laughing at this job ad for a “WebSphere ESB Developer”. On closer inspection said developer needs “proven experience of WebSphere Message Broker V6” i.e. the “Advanced Enterprise Service Bus”!
Aggregation isn’t currently one of the capabilities available out of the box with WebSphere ESB but it’s something a number of people have asked me about in the past, particularly those from a WebSphere Message Broker background. I was therefore particularly pleased when Russ Butek showed me a draft of a developerWorks article he was putting together which demonstrated how to achieve aggregation using a custom mediation primitive. Looks like that article has now been published so you can now read all about it for yourselves.
Andrew is plugging the draft of his Redbook Connecting Enterprise Applications to WebSphere Enterprise Service Bus over on SOA Tips ’n’ Tricks and rightly so as it’s well worth a look. If you thought that WebSphere ESB was just about SOAP/HTTP then this book should set you straight. It covers details of integration via WebSphere MQ, JDBC and HTTP and connecting to CICS. I’ve been working on the labs for the corresponding ITSO Workshop rolling out later this year.
The WebSphere Business Integration Performance Tuning Redpaper has now been updated to cover Version 6.0.2 of WebSphere ESB and Process Server. The information in this paper comes from the product development performance teams and, if anyone knows how to squeeze the last ounce out of these products, it’s those guys.
The WebSphere Integration Developer InfoCenter contains a section on creating your own mediation primitive to sit on the palette alongside the standard set of primitives. If you prefer learning by example, then Russ Butek has a developerWorks article out that leads you through the steps to create and deploy a simple primitive that writes all or part of a Service Message Object out to the console. (A handy primitive to have in your toolkit in its own right.)
Another useful fact I picked up at WSTC was around retry behaviour for JMS exports. Pamela Fong and Jeff Brent have put together a very detailed developerWorks article covering all aspects of exception handling in WebSphere Process Server and WebSphere ESB. Definitely worth trying to get your head round this stuff.
A 7 o’clock business breakfast meant that much of the rest of today was spent wandering around in a daze. My first presentation of the day was by Marc-Thomas Schmidt who is the architect responsible for ESB (in all its guises) and Service Registry and Repository. This was followed by an excellent session given by Mike Capern and Ryan Zombo. This covered a selection of use cases from WebSphere Service Registry and Repository Proof of Concepts. It demonstrated that, although still a young product, its numerous customizable aspects means that it can meet most requirements.
So, I’m going to use the title whether Andy likes it or not! My day started with a focus on the JMS and MQ bindings in WebSphere Process Server and ESB. Corville Allen from development gave an excellent session on some of the intricacies. I picked up a few facts. For example, the ability to set the SCA_JMS_SEND_DB_ERROR system property so that a ServiceRuntimeException is sent back if parsing fails in the data binding for a response. Also, I was aware that the SCA system bus is now optimized out of a flow using a JMS export and import but apparently if the request message is rolled back then, on retry, the system bus is used so that the failed event manager can kick in.
My creative juices aren’t flowing today hence the unimaginative title for this posting (and if I couldn’t come up with a good title today, there was no chance I would be able to be inventive by day 5). Sadly, as an internal conference with significant IBM confidential content I can’t cover everything here but I’ll cover what I can. As Andy has already blogged, someone had the good sense to realise that we are a technical audience and the keynote speech was given by Jerry Cuomo, CTO for WebSphere. I particularly liked his demo around Real Time Java which showed garbage collection leading to breaks in a piece of music played with with a Sun JVM compared to the flawless playback when using Metronome GC in an IBM J9 JVM.
There are a couple of options for accessing artifacts in WebSphere Service Registry and Repository at development time. (NB I used to call them artefacts but this seemed to confuse the Americans!) If you are using WebSphere Integration Developer (Version 6.0.2) then you can use the Enterprise Service Discovery wizard to query a registry and retrieve artifacts. This support is the subject of a new developerWorks article.