mirror of https://github.com/apache/nifi.git
NIFI-3230 fix ActiveMQ SSL support for simple connect URIs in Get/Put JMS processors
This closes #1344.
This commit is contained in:
parent
474df053d6
commit
3259b01f8e
|
@ -382,6 +382,9 @@ public class JmsFactory {
|
|||
private static boolean isSSL(URI uri) {
|
||||
try {
|
||||
CompositeData compositeData = URISupport.parseComposite(uri);
|
||||
if ("ssl".equals(compositeData.getScheme())) {
|
||||
return true;
|
||||
}
|
||||
for(URI component : compositeData.getComponents()){
|
||||
if ("ssl".equals(component.getScheme())) {
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue