ENTAXY-248 release 1.8.1

This commit is contained in:
2022-02-28 15:20:38 +03:00
parent 4d274c4fcc
commit c826adf1db
1958 changed files with 195926 additions and 10280 deletions

View File

@ -5,7 +5,7 @@
<parent>
<groupId>ru.entaxy.esb.platform.runtime.base.connecting</groupId>
<artifactId>adapter</artifactId>
<version>1.8.0</version>
<version>1.8.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>

View File

@ -670,7 +670,12 @@
},
{
"type": "init",
"generator": ""
"generator": "",
"config": {
"param1": "value1",
"param2": 10,
"param3": true
}
},
{
"type": "ref",

View File

@ -1,21 +1,24 @@
<#--
~~~~~~licensing~~~~~~
artemis-adapter
==========
Copyright (C) 2020 - 2021 EmDev LLC
==========
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
~~~~~~/licensing~~~~~~
-->
<#include 'queryParameters.ftl'>
[#ftl attributes={"generated.type":"blueprint-node"}]
[#--
~~~~~~licensing~~~~~~
artemis-adapter
==========
Copyright (C) 2020 - 2021 EmDev LLC
==========
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
~~~~~~/licensing~~~~~~
--]
[#include 'queryParameters.ftl']
<from uri="[=connection.name]:[=connection.pathParameter][=queryParameters]"/>

View File

@ -1,26 +1,29 @@
<#--
~~~~~~licensing~~~~~~
artemis-adapter
==========
Copyright (C) 2020 - 2021 EmDev LLC
==========
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
~~~~~~/licensing~~~~~~
-->
<#assign factoryProperties = ["url", "username", "password", "maxConnections", "maxSessionsPerConnection"]>
<#function exceptFactoryProperties(propertyName)>
<#return !factoryProperties?seq_contains(propertyName)>
</#function>
[#ftl attributes={"generated.type":"blueprint"}]
[#--
~~~~~~licensing~~~~~~
artemis-adapter
==========
Copyright (C) 2020 - 2021 EmDev LLC
==========
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
~~~~~~/licensing~~~~~~
--]
[#assign factoryProperties = ["url", "username", "password", "maxConnections", "maxSessionsPerConnection"]]
[#function exceptFactoryProperties(propertyName)]
[#return !factoryProperties?seq_contains(propertyName)]
[/#function]
<?xml version="1.0" encoding="UTF-8"?>
<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@ -31,13 +34,13 @@
<cm:property-placeholder persistent-id="[=connection.configurationPid]"
update-strategy="reload">
<#if connection.properties??>
[#if connection.properties??]
<cm:default-properties>
<#list connection.properties as key, value>
[#list connection.properties as key, value]
<cm:property name="[=connection.configurationPid].[=key]" value="[=value]"/>
</#list>
[/#list]
</cm:default-properties>
</#if>
[/#if]
</cm:property-placeholder>
<service interface="org.apache.camel.Component" ref="[=connection.name]">
@ -47,13 +50,13 @@
</service>
<bean id="[=connection.name]" class="org.apache.camel.component.jms.JmsComponent">
<#-- //TODO change template for property reference usage instead of text value -->
[#-- //TODO change template for property reference usage instead of text value --]
<property name="connectionFactory" ref="pooledConnectionFactory"/>
<#if connection.properties??>
<#list connection.properties?keys?filter(exceptFactoryProperties) as key>
[#if connection.properties??]
[#list connection.properties?keys?filter(exceptFactoryProperties) as key]
<property name="[=key]" value="[='$']{[=connection.configurationPid].[=key]}"/>
</#list>
</#if>
[/#list]
[/#if]
</bean>
<bean id="pooledConnectionFactory" class="org.messaginghub.pooled.jms.JmsPoolConnectionFactory"

View File

@ -1,26 +1,29 @@
<#--
~~~~~~licensing~~~~~~
artemis-adapter
==========
Copyright (C) 2020 - 2021 EmDev LLC
==========
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
~~~~~~/licensing~~~~~~
-->
<#assign queryParameters>
<#if connection.options??>
<@compress single_line=true>
?<#list connection.options as key, value>[=key]=[=value]<#sep>&amp;</#list>
</@compress>
</#if>
</#assign>
[#ftl]
[#--
~~~~~~licensing~~~~~~
artemis-adapter
==========
Copyright (C) 2020 - 2021 EmDev LLC
==========
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
~~~~~~/licensing~~~~~~
--]
[#assign queryParameters]
[#if connection.options??]
[@compress single_line=true]
?[#list connection.options as key, value][=key]=[=value][#sep]&amp;[/#list]
[/@compress]
[/#if]
[/#assign]

View File

@ -1,21 +1,24 @@
<#--
~~~~~~licensing~~~~~~
artemis-adapter
==========
Copyright (C) 2020 - 2021 EmDev LLC
==========
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
~~~~~~/licensing~~~~~~
-->
[#ftl attributes={"generated.type":"blueprint-node"}]
[#--
~~~~~~licensing~~~~~~
artemis-adapter
==========
Copyright (C) 2020 - 2021 EmDev LLC
==========
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
~~~~~~/licensing~~~~~~
--]
<reference id="[=connection.name]" interface="org.apache.camel.Component"
filter="(connection.name=[=connection.name])"/>

View File

@ -1,21 +1,24 @@
<#--
~~~~~~licensing~~~~~~
artemis-adapter
==========
Copyright (C) 2020 - 2021 EmDev LLC
==========
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
~~~~~~/licensing~~~~~~
-->
<#include 'queryParameters.ftl'>
[#ftl attributes={"generated.type":"blueprint-node"}]
[#--
~~~~~~licensing~~~~~~
artemis-adapter
==========
Copyright (C) 2020 - 2021 EmDev LLC
==========
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
~~~~~~/licensing~~~~~~
--]
[#include 'queryParameters.ftl']
<to uri="[=connection.name]:[=connection.pathParameter][=queryParameters]"/>