|
|
@ -1,5 +1,5 @@ |
|
|
|
/* |
|
|
|
/* |
|
|
|
* Copyright 2002-2018 the original author or authors. |
|
|
|
* Copyright 2002-2019 the original author or authors. |
|
|
|
* |
|
|
|
* |
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
* you may not use this file except in compliance with the License. |
|
|
@ -85,7 +85,9 @@ public class DefaultJmsActivationSpecFactory extends StandardJmsActivationSpecFa |
|
|
|
return adapter.getClass().getClassLoader().loadClass(specClassName); |
|
|
|
return adapter.getClass().getClassLoader().loadClass(specClassName); |
|
|
|
} |
|
|
|
} |
|
|
|
catch (ClassNotFoundException ex) { |
|
|
|
catch (ClassNotFoundException ex) { |
|
|
|
logger.debug("No default <Provider>ActivationSpec class found: " + specClassName); |
|
|
|
if (logger.isDebugEnabled()) { |
|
|
|
|
|
|
|
logger.debug("No default <Provider>ActivationSpec class found: " + specClassName); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -98,7 +100,9 @@ public class DefaultJmsActivationSpecFactory extends StandardJmsActivationSpecFa |
|
|
|
return adapter.getClass().getClassLoader().loadClass(specClassName); |
|
|
|
return adapter.getClass().getClassLoader().loadClass(specClassName); |
|
|
|
} |
|
|
|
} |
|
|
|
catch (ClassNotFoundException ex) { |
|
|
|
catch (ClassNotFoundException ex) { |
|
|
|
logger.debug("No default <Provider>ActivationSpecImpl class found: " + specClassName); |
|
|
|
if (logger.isDebugEnabled()) { |
|
|
|
|
|
|
|
logger.debug("No default <Provider>ActivationSpecImpl class found: " + specClassName); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -109,7 +113,9 @@ public class DefaultJmsActivationSpecFactory extends StandardJmsActivationSpecFa |
|
|
|
return adapter.getClass().getClassLoader().loadClass(specClassName); |
|
|
|
return adapter.getClass().getClassLoader().loadClass(specClassName); |
|
|
|
} |
|
|
|
} |
|
|
|
catch (ClassNotFoundException ex) { |
|
|
|
catch (ClassNotFoundException ex) { |
|
|
|
logger.debug("No default ActivationSpecImpl class found in provider package: " + specClassName); |
|
|
|
if (logger.isDebugEnabled()) { |
|
|
|
|
|
|
|
logger.debug("No default ActivationSpecImpl class found in provider package: " + specClassName); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// ActivationSpecImpl class in "inbound" subpackage (WebSphere MQ 6.0.2.1)
|
|
|
|
// ActivationSpecImpl class in "inbound" subpackage (WebSphere MQ 6.0.2.1)
|
|
|
@ -118,7 +124,9 @@ public class DefaultJmsActivationSpecFactory extends StandardJmsActivationSpecFa |
|
|
|
return adapter.getClass().getClassLoader().loadClass(specClassName); |
|
|
|
return adapter.getClass().getClassLoader().loadClass(specClassName); |
|
|
|
} |
|
|
|
} |
|
|
|
catch (ClassNotFoundException ex) { |
|
|
|
catch (ClassNotFoundException ex) { |
|
|
|
logger.debug("No default ActivationSpecImpl class found in inbound subpackage: " + specClassName); |
|
|
|
if (logger.isDebugEnabled()) { |
|
|
|
|
|
|
|
logger.debug("No default ActivationSpecImpl class found in inbound subpackage: " + specClassName); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
throw new IllegalStateException("No ActivationSpec class defined - " + |
|
|
|
throw new IllegalStateException("No ActivationSpec class defined - " + |
|
|
|