<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: WebSphere Default Messaging (SIBus) and WebService Error Handling</title>
	<atom:link href="http://blog.danzrobok.com/2008/04/22/websphere-default-messaging-sibus-and-a-webservice-error-handling/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.danzrobok.com/2008/04/22/websphere-default-messaging-sibus-and-a-webservice-error-handling/</link>
	<description>Business Integration and SOA with an IBM WebSphere slant</description>
	<pubDate>Thu, 04 Dec 2008 21:23:27 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
		<item>
		<title>By: Rajesh_sk</title>
		<link>http://blog.danzrobok.com/2008/04/22/websphere-default-messaging-sibus-and-a-webservice-error-handling/#comment-2904</link>
		<dc:creator>Rajesh_sk</dc:creator>
		<pubDate>Tue, 21 Oct 2008 10:08:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.danzrobok.com/2008/04/22/websphere-default-messaging-sibus-and-a-webservice-error-handling/#comment-2904</guid>
		<description>Hi Trond,

Can you please elaborate on how exactly I can deactivate the J2Cactivation spec in runtime?</description>
		<content:encoded><![CDATA[<p>Hi Trond,</p>
<p>Can you please elaborate on how exactly I can deactivate the J2Cactivation spec in runtime?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Trond</title>
		<link>http://blog.danzrobok.com/2008/04/22/websphere-default-messaging-sibus-and-a-webservice-error-handling/#comment-2899</link>
		<dc:creator>Trond</dc:creator>
		<pubDate>Tue, 21 Oct 2008 08:48:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.danzrobok.com/2008/04/22/websphere-default-messaging-sibus-and-a-webservice-error-handling/#comment-2899</guid>
		<description>It's pretty amazing that the solution for throttling message processing is based on having to create a custom application that reads error messages from a log file and then invokes server administrative features to stop the activation spec. Why didn't they make this declarative...?!</description>
		<content:encoded><![CDATA[<p>It&#8217;s pretty amazing that the solution for throttling message processing is based on having to create a custom application that reads error messages from a log file and then invokes server administrative features to stop the activation spec. Why didn&#8217;t they make this declarative&#8230;?!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rajesh_sk</title>
		<link>http://blog.danzrobok.com/2008/04/22/websphere-default-messaging-sibus-and-a-webservice-error-handling/#comment-2665</link>
		<dc:creator>Rajesh_sk</dc:creator>
		<pubDate>Thu, 16 Oct 2008 06:46:23 +0000</pubDate>
		<guid isPermaLink="false">http://blog.danzrobok.com/2008/04/22/websphere-default-messaging-sibus-and-a-webservice-error-handling/#comment-2665</guid>
		<description>Hi Dan,

Thanks for the inputs. 
This fixpack is to enable the property on the J2CActivation specification.
I am using WID 6.1.2 which has WAS version of 6.1.0.17. I can see that this property is already enabled in this version. The  only problem is that I am not able to bring that to effect. 
I am able to set value for 'maxSequentialMessageFailure' property but I am not able to change the 'Required' column to 'true' in the customProperties tab of J2CActivation specification.

Have you got any idea about this?</description>
		<content:encoded><![CDATA[<p>Hi Dan,</p>
<p>Thanks for the inputs.<br />
This fixpack is to enable the property on the J2CActivation specification.<br />
I am using WID 6.1.2 which has WAS version of 6.1.0.17. I can see that this property is already enabled in this version. The  only problem is that I am not able to bring that to effect.<br />
I am able to set value for &#8216;maxSequentialMessageFailure&#8217; property but I am not able to change the &#8216;Required&#8217; column to &#8216;true&#8217; in the customProperties tab of J2CActivation specification.</p>
<p>Have you got any idea about this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dan</title>
		<link>http://blog.danzrobok.com/2008/04/22/websphere-default-messaging-sibus-and-a-webservice-error-handling/#comment-2577</link>
		<dc:creator>dan</dc:creator>
		<pubDate>Tue, 14 Oct 2008 20:03:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.danzrobok.com/2008/04/22/websphere-default-messaging-sibus-and-a-webservice-error-handling/#comment-2577</guid>
		<description>You'll need to pause the Activation Spec listener once your system has detected that a transaction rollback is required. Or else you will find that your transaction rollsback and it immediately re-tried for n times until it ends up in the excpetion destination. 


http://www.ibm.com/developerworks/wikis/display/woolf/Pausing+SIBus+MDBs</description>
		<content:encoded><![CDATA[<p>You&#8217;ll need to pause the Activation Spec listener once your system has detected that a transaction rollback is required. Or else you will find that your transaction rollsback and it immediately re-tried for n times until it ends up in the excpetion destination. </p>
<p><a href="http://www.ibm.com/developerworks/wikis/display/woolf/Pausing+SIBus+MDBs" rel="nofollow">http://www.ibm.com/developerworks/wikis/display/woolf/Pausing+SIBus+MDBs</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rajesh_sk</title>
		<link>http://blog.danzrobok.com/2008/04/22/websphere-default-messaging-sibus-and-a-webservice-error-handling/#comment-2519</link>
		<dc:creator>Rajesh_sk</dc:creator>
		<pubDate>Mon, 13 Oct 2008 15:20:43 +0000</pubDate>
		<guid isPermaLink="false">http://blog.danzrobok.com/2008/04/22/websphere-default-messaging-sibus-and-a-webservice-error-handling/#comment-2519</guid>
		<description>Hi Dan,

We have a small scenario in our project where in we are using JMS Queue (SIB)to send and receive soap messages (soap over JMS).
Listener picks up the message and invokes the service.
If I have any problem (specific errors) while processing the  request I want to rollback the message to the same queue and end the process.
I don't find any way to rollback the message. The message is lost when a runtime exception (unhandled) occurs.
Do you have any idea on how I can do this.
Thanks in advance.</description>
		<content:encoded><![CDATA[<p>Hi Dan,</p>
<p>We have a small scenario in our project where in we are using JMS Queue (SIB)to send and receive soap messages (soap over JMS).<br />
Listener picks up the message and invokes the service.<br />
If I have any problem (specific errors) while processing the  request I want to rollback the message to the same queue and end the process.<br />
I don&#8217;t find any way to rollback the message. The message is lost when a runtime exception (unhandled) occurs.<br />
Do you have any idea on how I can do this.<br />
Thanks in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David L</title>
		<link>http://blog.danzrobok.com/2008/04/22/websphere-default-messaging-sibus-and-a-webservice-error-handling/#comment-571</link>
		<dc:creator>David L</dc:creator>
		<pubDate>Wed, 23 Jul 2008 06:21:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.danzrobok.com/2008/04/22/websphere-default-messaging-sibus-and-a-webservice-error-handling/#comment-571</guid>
		<description>Nice job, can you email me code too? thanks</description>
		<content:encoded><![CDATA[<p>Nice job, can you email me code too? thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Holding</title>
		<link>http://blog.danzrobok.com/2008/04/22/websphere-default-messaging-sibus-and-a-webservice-error-handling/#comment-407</link>
		<dc:creator>Chris Holding</dc:creator>
		<pubDate>Wed, 02 Jul 2008 14:20:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.danzrobok.com/2008/04/22/websphere-default-messaging-sibus-and-a-webservice-error-handling/#comment-407</guid>
		<description>One way to handle this type of situation is:
Check availability of destination. If it is not available, set a flag in say a relationship to divert the data to a persistent store. When the destination system is restored, reset the flag and process the backlog in the persistent store (I have used a DB for this).</description>
		<content:encoded><![CDATA[<p>One way to handle this type of situation is:<br />
Check availability of destination. If it is not available, set a flag in say a relationship to divert the data to a persistent store. When the destination system is restored, reset the flag and process the backlog in the persistent store (I have used a DB for this).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Trond Isaksen</title>
		<link>http://blog.danzrobok.com/2008/04/22/websphere-default-messaging-sibus-and-a-webservice-error-handling/#comment-395</link>
		<dc:creator>Trond Isaksen</dc:creator>
		<pubDate>Wed, 25 Jun 2008 16:27:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.danzrobok.com/2008/04/22/websphere-default-messaging-sibus-and-a-webservice-error-handling/#comment-395</guid>
		<description>You have mail :-)</description>
		<content:encoded><![CDATA[<p>You have mail <img src='http://blog.danzrobok.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dan</title>
		<link>http://blog.danzrobok.com/2008/04/22/websphere-default-messaging-sibus-and-a-webservice-error-handling/#comment-394</link>
		<dc:creator>dan</dc:creator>
		<pubDate>Wed, 25 Jun 2008 13:57:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.danzrobok.com/2008/04/22/websphere-default-messaging-sibus-and-a-webservice-error-handling/#comment-394</guid>
		<description>Hi Trond, 

Of course I'm interested in the code :-) Awesome that you got that all up and working. Are you on the 6.1 level? We are at 6.0.2 maybe thats why you were able to get it going so quickly.

And yes, I agree that the Failed Event Manager is a 'last resort' location but an integration platform should be able to  deal with the common pattern of retrying "out of the box". How about a new set of properties on an activation spec that define "Business Hours", Retry Delay etc?</description>
		<content:encoded><![CDATA[<p>Hi Trond, </p>
<p>Of course I&#8217;m interested in the code <img src='http://blog.danzrobok.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> Awesome that you got that all up and working. Are you on the 6.1 level? We are at 6.0.2 maybe thats why you were able to get it going so quickly.</p>
<p>And yes, I agree that the Failed Event Manager is a &#8216;last resort&#8217; location but an integration platform should be able to  deal with the common pattern of retrying &#8220;out of the box&#8221;. How about a new set of properties on an activation spec that define &#8220;Business Hours&#8221;, Retry Delay etc?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Trond</title>
		<link>http://blog.danzrobok.com/2008/04/22/websphere-default-messaging-sibus-and-a-webservice-error-handling/#comment-392</link>
		<dc:creator>Trond</dc:creator>
		<pubDate>Tue, 24 Jun 2008 13:51:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.danzrobok.com/2008/04/22/websphere-default-messaging-sibus-and-a-webservice-error-handling/#comment-392</guid>
		<description>Dan,
Just tried it, and it seems to work pretty good. It is possible to get the business object (use the "getFailedEventWithParameters" method on the FailedEventManagerEJB), but it is not necessary. I simply  search for failed events using the FailedEventManagerEJB, look through the failure exception/type/date, and invoke resubmit() on the FailedEvents that are candidates. I'll send you the code if you want it :-)

My gut feeling, however, still is that there should be a resubmit queue that handles downtime/scheduled unavailability. That means that each backend system will have its own independent resubmit-handler. I'm not too happy about using the FEM for this.</description>
		<content:encoded><![CDATA[<p>Dan,<br />
Just tried it, and it seems to work pretty good. It is possible to get the business object (use the &#8220;getFailedEventWithParameters&#8221; method on the FailedEventManagerEJB), but it is not necessary. I simply  search for failed events using the FailedEventManagerEJB, look through the failure exception/type/date, and invoke resubmit() on the FailedEvents that are candidates. I&#8217;ll send you the code if you want it <img src='http://blog.danzrobok.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>My gut feeling, however, still is that there should be a resubmit queue that handles downtime/scheduled unavailability. That means that each backend system will have its own independent resubmit-handler. I&#8217;m not too happy about using the FEM for this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dan</title>
		<link>http://blog.danzrobok.com/2008/04/22/websphere-default-messaging-sibus-and-a-webservice-error-handling/#comment-385</link>
		<dc:creator>dan</dc:creator>
		<pubDate>Mon, 23 Jun 2008 14:49:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.danzrobok.com/2008/04/22/websphere-default-messaging-sibus-and-a-webservice-error-handling/#comment-385</guid>
		<description>Hi Trond, 

Yeah, it's a very common pattern that I was surprised is so difficult to implement. 

From what I have heard from a developer who attempted to use the FEM API to get a handle to the business object contained in the event and he said he was unable to get it (or that there was no method). So if you get something like this working, it'd be awesome to let me know.

Cheers.</description>
		<content:encoded><![CDATA[<p>Hi Trond, </p>
<p>Yeah, it&#8217;s a very common pattern that I was surprised is so difficult to implement. </p>
<p>From what I have heard from a developer who attempted to use the FEM API to get a handle to the business object contained in the event and he said he was unable to get it (or that there was no method). So if you get something like this working, it&#8217;d be awesome to let me know.</p>
<p>Cheers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Trond Isaksen</title>
		<link>http://blog.danzrobok.com/2008/04/22/websphere-default-messaging-sibus-and-a-webservice-error-handling/#comment-384</link>
		<dc:creator>Trond Isaksen</dc:creator>
		<pubDate>Mon, 23 Jun 2008 07:23:51 +0000</pubDate>
		<guid isPermaLink="false">http://blog.danzrobok.com/2008/04/22/websphere-default-messaging-sibus-and-a-webservice-error-handling/#comment-384</guid>
		<description>Hi,
we have pretty much the same challenge. I would be surprised if we are the only ones that want support for automatic retries against backend-systems...so I believe this should be better handled by WPS. FEM is to me a good last-resort queue, but typically not a good structure for holding messages while systems are down.
We have also considered the JMS-solution. I believe it should be feasible. Outside of business hours I expected that it should be OK to check the time, roll back the message, sleep, and retry later.

However, we are currently pursuing to use the FEM API for automatic resubmit (having a batch job look through failed messages and decide which ones should be resubmitted). We'll se if this turns out OK.</description>
		<content:encoded><![CDATA[<p>Hi,<br />
we have pretty much the same challenge. I would be surprised if we are the only ones that want support for automatic retries against backend-systems&#8230;so I believe this should be better handled by WPS. FEM is to me a good last-resort queue, but typically not a good structure for holding messages while systems are down.<br />
We have also considered the JMS-solution. I believe it should be feasible. Outside of business hours I expected that it should be OK to check the time, roll back the message, sleep, and retry later.</p>
<p>However, we are currently pursuing to use the FEM API for automatic resubmit (having a batch job look through failed messages and decide which ones should be resubmitted). We&#8217;ll se if this turns out OK.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
