@@ -122,12 +122,23 @@ def _add_jms_resources(self, resource_nodes, location):
122122
123123 # SAF imported destination may reference error handling, and vice versa
124124 self .topology_helper .create_placeholder_named_elements (location , SAF_ERROR_HANDLING , resource_nodes )
125+ # Error destinations for Topics, Queues, Templates reference other Topics, Queues
126+ self ._create_placeholder_for_error_destinations (location , resource_nodes )
125127
126128 for element_name in self .resource_elements :
127129 model_nodes = dictionary_utils .get_dictionary_element (resource_nodes , element_name )
128130 self ._add_named_elements (element_name , model_nodes , location )
129131 return
130132
133+ def _create_placeholder_for_error_destinations (self , location , resource_nodes ):
134+ self .topology_helper .create_placeholder_named_elements (location , QUEUE , resource_nodes )
135+ self .topology_helper .create_placeholder_named_elements (location , DISTRIBUTED_QUEUE , resource_nodes )
136+ self .topology_helper .create_placeholder_named_elements (location , UNIFORM_DISTRIBUTED_QUEUE , resource_nodes )
137+ self .topology_helper .create_placeholder_named_elements (location , TOPIC , resource_nodes )
138+ self .topology_helper .create_placeholder_named_elements (location , DISTRIBUTED_TOPIC , resource_nodes )
139+ self .topology_helper .create_placeholder_named_elements (location , UNIFORM_DISTRIBUTED_TOPIC , resource_nodes )
140+ self .topology_helper .create_placeholder_named_elements (location , TEMPLATE , resource_nodes )
141+
131142 def _add_jndi_properties (self , property_name_nodes , location ):
132143 """
133144 Add each property entry from property nodes and set its attributes.
0 commit comments