Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GEOS-7468] Change JMS default virtual topic default name to geoserver (backport 2.8.x) #1872

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -18,7 +18,7 @@ final public class TopicConfiguration implements JMSConfigurationExt {

public static final String TOPIC_NAME_KEY = "topicName";

public static final String DEFAULT_TOPIC_NAME = "VirtualTopic.>";
public static final String DEFAULT_TOPIC_NAME = "VirtualTopic.geoserver";

public static final String DURABLE_KEY = "durable";

Expand Down
Expand Up @@ -44,15 +44,6 @@
connectorPort="${activemq.jmx.port}" connectorHost="${activemq.jmx.host}" />
</managementContext>

<destinationInterceptors>
<virtualDestinationInterceptor>
<virtualDestinations>
<virtualTopic name=">" prefix="Consumer.*.VirtualTopic."
selectorAware="false" />
</virtualDestinations>
</virtualDestinationInterceptor>
</destinationInterceptors>

<!-- Configure message persistence for the broker. The default persistence
mechanism is the KahaDB store (identified by the kahaDB tag). For more information,
see: http://activemq.apache.org/persistence.html -->
Expand Down
Expand Up @@ -22,7 +22,7 @@ public void testGetConfiguration() throws Exception {
Document dom = getAsDOM("rest/cluster.xml");
// print(dom);
// checking a property that's unlikely to change
assertXpathEvaluatesTo("VirtualTopic.>", "/properties/property[@name='topicName']/@value", dom);
assertXpathEvaluatesTo("VirtualTopic.geoserver", "/properties/property[@name='topicName']/@value", dom);
}

@Test
Expand Down