[esb-issues] [JBoss JIRA] Commented: (JBESB-2097) ServiceInvoker Exception details
Kevin Conner (JIRA)
jira-events at lists.jboss.org
Mon Mar 2 05:09:59 EST 2009
[ https://jira.jboss.org/jira/browse/JBESB-2097?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12454906#action_12454906 ]
Kevin Conner commented on JBESB-2097:
-------------------------------------
We need to rollback 25286 as we should not be hiding these exception. This is more likely to be caused by the update to JAXRRegistry et al in JBESB-2185 and this is being rolled back.
> ServiceInvoker Exception details
> --------------------------------
>
> Key: JBESB-2097
> URL: https://jira.jboss.org/jira/browse/JBESB-2097
> Project: JBoss ESB
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Rosetta
> Affects Versions: 4.4
> Reporter: Burr Sutter
> Assignee: Daniel Bevenius
> Fix For: 4.6
>
>
> Current the ServiceInvoker.deliverSync() method might throw the following exceptions:
> MessageDeliverException
> RegistryException
> FaultMessageException
> requestMessage = MessageFactory.getInstance().getMessage();
> requestMessage.getProperties().setProperty(Environment.EXCEPTION_ON_DELIVERY_FAILURE,"true");
> ServiceInvoker invoker = new ServiceInvoker("MyCategory", "Service99");
> replyMessage = invoker.deliverSync(requestMessage,2000);
> A service name which does not exist results in a MessageDeliverException, with the following information exposed via a
> System.err.println(mde);
> 11:25:16,179 ERROR [STDERR] org.jboss.soa.esb.listeners.message.MessageDeliverEx
> ception: Failed to deliver message [header: [ ]] to Service [MyCategory:Servic
> e99]. Check for errors.
> It would have made more sense for it to be a RegistryException and the actual message doesn't indicate that there is a lookup problem.
> Futhermore, a timeout results in the following MessageDeliverException:
> 11:45:06,278 ERROR [STDERR] org.jboss.soa.esb.listeners.message.MessageDeliverEx
> ception: Failed to deliver message [header: [ To: InVMEpr [ PortReference < <wsa
> :Address invm://52455354456173794553425365727669636531/false?false#10000/>, <wsa
> :ReferenceProperties jbossesb:passByValue : false/>, <wsa:ReferenceProperties jb
> ossesb:type : urn:jboss/esb/epr/type/invm/> > ] ReplyTo: InVMEpr [ PortReference
> < <wsa:Address invm://thread-559/>, <wsa:ReferenceProperties jbossesb:passByVal
> ue : false/>, <wsa:ReferenceProperties jbossesb:type : urn:jboss/esb/epr/type/in
> vm/> > ] ]] to Service [MyCategory:Service1]. Told not to retry.
> No indication that the problem is timeout and the "Told not to retry" is a bit terse.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the esb-issues
mailing list