use of org.wildfly.extension.messaging.activemq.jms.ConnectionFactoryDefinition in project wildfly by wildfly.
the class ServerDefinition method getChildren.
@Override
protected List<? extends PersistentResourceDefinition> getChildren() {
List<PersistentResourceDefinition> children = new ArrayList<>();
// Static resources
children.addAll(Arrays.asList(// HA policy
LiveOnlyDefinition.INSTANCE, registerRuntimeOnly ? ReplicationMasterDefinition.INSTANCE : ReplicationMasterDefinition.HC_INSTANCE, registerRuntimeOnly ? ReplicationSlaveDefinition.INSTANCE : ReplicationSlaveDefinition.HC_INSTANCE, ReplicationColocatedDefinition.INSTANCE, SharedStoreMasterDefinition.INSTANCE, SharedStoreSlaveDefinition.INSTANCE, SharedStoreColocatedDefinition.INSTANCE, AddressSettingDefinition.INSTANCE, SecuritySettingDefinition.INSTANCE, // Acceptors
HTTPAcceptorDefinition.INSTANCE, DivertDefinition.INSTANCE, ConnectorServiceDefinition.INSTANCE, GroupingHandlerDefinition.INSTANCE, // Jakarta Messaging resources
LegacyConnectionFactoryDefinition.INSTANCE, PooledConnectionFactoryDefinition.INSTANCE));
// Dynamic resources (depending on registerRuntimeOnly)
// acceptors
children.add(GenericTransportDefinition.createAcceptorDefinition(registerRuntimeOnly));
children.add(InVMTransportDefinition.createAcceptorDefinition(registerRuntimeOnly));
children.add(RemoteTransportDefinition.createAcceptorDefinition(registerRuntimeOnly));
// connectors
children.add(GenericTransportDefinition.createConnectorDefinition(registerRuntimeOnly));
children.add(InVMTransportDefinition.createConnectorDefinition(registerRuntimeOnly));
children.add(RemoteTransportDefinition.createConnectorDefinition(registerRuntimeOnly));
children.add(new HTTPConnectorDefinition(registerRuntimeOnly));
children.add(new BridgeDefinition(registerRuntimeOnly));
children.add(new BroadcastGroupDefinition(registerRuntimeOnly));
children.add(new SocketBroadcastGroupDefinition(registerRuntimeOnly));
children.add(new JGroupsBroadcastGroupDefinition(registerRuntimeOnly));
// WFLY-10518 - keep discovery-group resource under server
children.add(new DiscoveryGroupDefinition(registerRuntimeOnly, false));
children.add(new JGroupsDiscoveryGroupDefinition(registerRuntimeOnly, false));
children.add(new SocketDiscoveryGroupDefinition(registerRuntimeOnly, false));
children.add(new ClusterConnectionDefinition(registerRuntimeOnly));
children.add(new QueueDefinition(registerRuntimeOnly, MessagingExtension.QUEUE_PATH));
children.add(new JMSQueueDefinition(false, registerRuntimeOnly));
children.add(new JMSTopicDefinition(false, registerRuntimeOnly));
children.add(new ConnectionFactoryDefinition(registerRuntimeOnly));
return children;
}
Aggregations