Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-5305

runtime configuration - allow changes to <destinations> configuration elements

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 5.10.0
    • 5.11.0
    • Broker
    • None

    Description

      Extend the runtime configuration feature (AMQ-4682) to allow changes to the <destinations> configuration element.

      As of 5.10.0 if you create a compositeTopic with queues/topics or filtered destinations within the <destinationInterceptors><virtualDestinationInterceptor><virtualDestinations> element the CompositeTopic will not showup in the Broker Manager Topics page.

      <destinationInterceptors>
      			<virtualDestinationInterceptor>
      				<virtualDestinations>
      					<!-- Add this compositeTopic after ActiveMQ start -->
      					<compositeTopic name="CompositeTopic" forwardOnly="false">
      						<forwardTo>
      							<queue physicalName="ForwardedQueue" />
      						</forwardTo>
      					</compositeTopic>
      				</virtualDestinations>
      			</virtualDestinationInterceptor>
      		</destinationInterceptors>
      		<destinations>
      			<!-- CompositeTopic and ForwardedQueue queue will not showup in the Broker Manager unless these are defined (or someone sends a message to the CompositeTopic. -->
      			<!--<topic physicalName="CompositeTopic" />-->
      			<!--<queue physicalName="ForwardedQueue" />-->
      		</destinations>
      

      Note: This is more just a usability/management improvement.
      The broker does correctly forward messages to the ForwardedQueue, if it is not defined in the <destinations> element.

      Attachments

        Activity

          People

            dejanb Dejan Bosanac
            kyro Sam Wilkinson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: