Author: chris.laprun(a)jboss.com
Date: 2011-10-26 05:10:08 -0400 (Wed, 26 Oct 2011)
New Revision: 7888
Modified:
components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/consumer/RegistrationInfo.java
Log:
- GTNWSRP-253, GTNWSRP-251: Add consumer id to consumer name to avoid collisions.
Modified:
components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/consumer/RegistrationInfo.java
===================================================================
---
components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/consumer/RegistrationInfo.java 2011-10-26
09:01:00 UTC (rev 7887)
+++
components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/consumer/RegistrationInfo.java 2011-10-26
09:10:08 UTC (rev 7888)
@@ -1,6 +1,6 @@
/*
* JBoss, a division of Red Hat
- * Copyright 2010, Red Hat Middleware, LLC, and individual
+ * Copyright 2011, Red Hat Middleware, LLC, and individual
* contributors as indicated by the @authors tag. See the
* copyright.txt in the distribution for a full listing of
* individual contributors.
@@ -428,7 +428,7 @@
{
Version version = parent.getEndpointConfigurationInfo().getWSRPVersion();
String versionInfo = version != null ? " WSRP v" +
version.getMajor() + " version" : " unknown WSRP version";
- setConsumerName(WSRPConstants.DEFAULT_CONSUMER_NAME + versionInfo);
+ setConsumerName(parent.getId() + " " +
WSRPConstants.DEFAULT_CONSUMER_NAME + versionInfo);
}
// get a service description if we don't already have one
Show replies by date