Bug 781121 (SOA-3619)

Summary: JCA EndpointProxy must handle toString method
Product: [JBoss] JBoss Enterprise SOA Platform 5 Reporter: Rick Wagner <rwagner>
Component: unspecifiedAssignee: Mark Little <mark.little>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 5.1.0 GA   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/SOA-3619
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Support Patch
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 781192    

Description Rick Wagner 2011-11-21 23:05:13 UTC
Support Case Reference: https://c.na7.visual.force.com/apex/Case_View?id=500A0000007pEhb&sfdc.override=1
project_key: SOA

Some JCA providers will call toString on the EndpointProxy, for example WSMQ, leading to the following exception

(WorkManager(2)-7) java.lang.IllegalStateException: Multiple message delivery between before and after delivery is not allowed for message endpoint category: write service: updatejms jca adapter: wmq.jmsra.rar
(WorkManager(2)-7) 	at org.jboss.soa.esb.listeners.jca.EndpointProxy.delivery(EndpointProxy.java:231)
(WorkManager(2)-7) 	at org.jboss.soa.esb.listeners.jca.EndpointProxy.invoke(EndpointProxy.java:150)
(WorkManager(2)-7) 	at $Proxy227.toString(Unknown Source)
(WorkManager(2)-7) 	at com.ibm.msg.client.commonservices.trace.TableBuilder.append(TableBuilder.java:236)

We should handle this within the proxy and, in addition, include hashcode and equals

Comment 1 Rick Wagner 2011-11-21 23:05:13 UTC
Link: Added: This issue Cloned from SOA-3617


Comment 2 tcunning 2011-12-16 17:13:37 UTC
Link: Added: This issue relates to JBESB-3720


Comment 3 Rick Wagner 2012-01-10 16:08:46 UTC
Link: Added: This issue is a dependency of SOA-3694