User: starksm
Date: 01/10/03 00:07:44
Modified: src/main/org/jboss/mq Tag: Branch_2_4 SpyDestination.java
Log:
Revert to the buggy but 2.4.x where x <= 2 compatible version until
we can address the serialization compatibility problems
Revision Changes Path
No revision
No revision
1.2.2.3 +0 -12 jbossmq/src/main/org/jboss/mq/SpyDestination.java
Index: SpyDestination.java
===================================================================
RCS file: /cvsroot/jboss/jbossmq/src/main/org/jboss/mq/SpyDestination.java,v
retrieving revision 1.2.2.2
retrieving revision 1.2.2.3
diff -u -r1.2.2.2 -r1.2.2.3
--- SpyDestination.java 2001/10/03 03:06:51 1.2.2.2
+++ SpyDestination.java 2001/10/03 07:07:44 1.2.2.3
@@ -18,7 +18,7 @@
* @author Hiram Chirino ([EMAIL PROTECTED])
* @author David Maplesden ([EMAIL PROTECTED])
* @created August 16, 2001
- * @version $Revision: 1.2.2.2 $
+ * @version $Revision: 1.2.2.3 $
*/
public class SpyDestination
implements Destination, Serializable {
@@ -31,8 +31,6 @@
protected final static int OBJECT = 1;
protected final static int SPY_QUEUE = 2;
protected final static int SPY_TOPIC = 3;
- protected final static int SPY_TEMP_QUEUE = 4;
- protected final static int SPY_TEMP_TOPIC = 5;
SpyDestination( String name ) {
this.name = name;
@@ -56,12 +54,6 @@
throws java.io.IOException {
if ( dest == null ) {
out.writeByte( NULL );
- } else if ( dest instanceof SpyTemporaryQueue ) {
- out.writeByte( SPY_TEMP_QUEUE );
- out.writeUTF( ( ( SpyTemporaryQueue )dest ).getName() );
- } else if ( dest instanceof SpyTemporaryTopic ) {
- out.writeByte( SPY_TEMP_TOPIC );
- out.writeUTF( ( ( SpyTemporaryTopic )dest ).getName() );
} else if ( dest instanceof SpyQueue ) {
out.writeByte( SPY_QUEUE );
out.writeUTF( ( ( SpyQueue )dest ).getName() );
@@ -87,10 +79,6 @@
byte destType = in.readByte();
if ( destType == NULL ) {
return null;
- } else if ( destType == SPY_TEMP_QUEUE ) {
- return new SpyTemporaryQueue( in.readUTF(), null );
- } else if ( destType == SPY_TEMP_TOPIC ) {
- return new SpyTemporaryTopic( in.readUTF(), null );
} else if ( destType == SPY_QUEUE ) {
return new SpyQueue( in.readUTF() );
} else if ( destType == SPY_TOPIC ) {
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development