Skip to content
Permalink
Browse files
Applied patch for TRANSPORTS-16.
  • Loading branch information
Sagara Gunathunga committed Mar 6, 2012
1 parent 754174f commit ef00f70124ba82ac3bd181bcf9f268315f4dfae7
Showing 2 changed files with 2 additions and 2 deletions.
@@ -228,7 +228,7 @@ public boolean loadConfiguration(ParameterInclude params) throws AxisFault {
}
} else {
log.debug("JMS reply destination type not given. default queue");
destinationType = JMSConstants.QUEUE;
replyDestinationType = JMSConstants.DESTINATION_TYPE_QUEUE;
}

jndiReplyDestinationName = ParamUtils.getOptionalParam(service,
@@ -709,7 +709,7 @@ public static Destination lookupDestination(Context context, String destinationN
} catch (NameNotFoundException e) {
try {
return JMSUtils.lookup(context, Destination.class,
(JMSConstants.DESTINATION_TYPE_TOPIC.equals(destinationType) ?
(JMSConstants.DESTINATION_TYPE_TOPIC.equalsIgnoreCase(destinationType) ?
"dynamicTopics/" : "dynamicQueues/") + destinationName);
} catch (NamingException x) {
log.warn("Cannot locate destination : " + destinationName);

0 comments on commit ef00f70

Please sign in to comment.