@@ -122,12 +122,23 @@ def _add_jms_resources(self, resource_nodes, location):
122
122
123
123
# SAF imported destination may reference error handling, and vice versa
124
124
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 )
125
127
126
128
for element_name in self .resource_elements :
127
129
model_nodes = dictionary_utils .get_dictionary_element (resource_nodes , element_name )
128
130
self ._add_named_elements (element_name , model_nodes , location )
129
131
return
130
132
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
+
131
142
def _add_jndi_properties (self , property_name_nodes , location ):
132
143
"""
133
144
Add each property entry from property nodes and set its attributes.
0 commit comments