I’ve had a couple of queries in the past week about whether or not service integration bus messaging engines using a database for the message store need an XA capable JDBC data source. Thanks to Gareth Bottomley in the development team for locating the appropriate section hidden away in the InfoCenter that indicates you should configure a Connection pool data source i.e. non-XA capable. The messaging engine does not use the XA capabilities of the database, instead acting as a resource manager in its own right. So, for example, when you receive a message under a global transaction it is not deleted from the data base at that point under a JDBC transaction. Instead, it is non-transactionally marked with the Xid of the global transaction so that it is not received by other consumers and then, only when the transaction is commited, is the record removed. This is particularly important to note when using Oracle as the database as the Oracle XA driver has notoriously poor performance.
Messaging engine data sources
Related
Presentation and dinner
Many of the presentations at the conference are repeats from our internal services conference earlier this year which means I have some spare time to catch up on other work. One session I did go to today was Eric Herness (Chief Architect for WebSphere Business Integration) presenting the new content in Version 6.0.2 of WebSphere Process Service and ESB. I think it’s safe to say this is a refresh pack with more than a few functional enhancements!
Authentication aliases
·3 mins
I had a couple of questions last week relating to authentication aliases. When using WebSphere Application Server resources built on the JCA support, including JDBC data sources and JMS connection factories, there are a number of different mechanisms for specifying security credentials.
J2EE newbies
Whilst the majority of the customers I deal with are well versed in the ways of WebSphere, just occasionally I come across one that is not only new to WebSphere but also to the world of J2EE. In the past I have struggled to suggest suitable reading material, often resorting to the Sun J2EE tutorial as a starting point. Now Charlie Brown (who, as he hastens to point out, does have a beagle but not called Snoopy) has written an excellent introduction to J2EE the WebSphere way entitled “Experience J2EE! Using WebSphere Application Server V6.1”. It’s currently only a draft but, having taken a look at the messaging section, it’s well written and informative. There is even a chapter covering the, to my mind, advanced topic of importing a subject on to a message-driven bean’s thread using the credentials passed in a message. Be sure to rate the book so that we can ensure that Charlie’s good work can continue.