TUSCANY-3418 add missing equals operator to JMS wire formats so that interceptors are not injected twice.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@897816 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
506e07ab24
commit
2602773c8a
5 changed files with 28 additions and 2 deletions
|
@ -28,7 +28,10 @@
|
|||
<reference name="helloWorldService1" >
|
||||
<binding.jms>
|
||||
<destination name="HelloWorldService1"/>
|
||||
<tuscany:wireFormat.jmsText/>
|
||||
<response>
|
||||
<tuscany:wireFormat.jmsdefault sendFormat="text"/>
|
||||
</response>
|
||||
<tuscany:wireFormat.jmsdefault sendFormat="text"/>
|
||||
</binding.jms>
|
||||
</reference>
|
||||
</component>
|
||||
|
@ -38,7 +41,10 @@
|
|||
<service name="HelloWorldService">
|
||||
<binding.jms>
|
||||
<destination name="HelloWorldService1"/>
|
||||
<tuscany:wireFormat.jmsText/>
|
||||
<response>
|
||||
<tuscany:wireFormat.jmsdefault sendFormat="text"/>
|
||||
</response>
|
||||
<tuscany:wireFormat.jmsdefault sendFormat="text"/>
|
||||
</binding.jms>
|
||||
</service>
|
||||
</component>
|
||||
|
|
|
@ -42,4 +42,9 @@ public class WireFormatJMSBytes implements WireFormat {
|
|||
|
||||
public void setUnresolved(boolean unresolved) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object obj) {
|
||||
return this.getClass() == obj.getClass();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -37,4 +37,9 @@ public class WireFormatJMSBytesXML implements WireFormat {
|
|||
|
||||
public void setUnresolved(boolean unresolved) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object obj) {
|
||||
return this.getClass() == obj.getClass();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -54,4 +54,9 @@ public class WireFormatJMSObject implements WireFormat {
|
|||
public boolean isWrappedSingleInput() {
|
||||
return wrappedSingleInput;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object obj) {
|
||||
return this.getClass() == obj.getClass();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -42,4 +42,9 @@ public class WireFormatJMSText implements WireFormat {
|
|||
|
||||
public void setUnresolved(boolean unresolved) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object obj) {
|
||||
return this.getClass() == obj.getClass();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue