polishing

This commit is contained in:
Juergen Hoeller
2009-07-21 14:14:53 +00:00
parent 364641e9bc
commit ea8f628c9c
3 changed files with 11 additions and 19 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2008 the original author or authors.
* Copyright 2002-2009 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -16,8 +16,7 @@
package org.springframework.jms.listener.endpoint;
import java.util.Properties;
import java.util.Map;
import javax.jms.JMSException;
import javax.jms.Queue;
import javax.jms.Session;
@@ -53,7 +52,7 @@ public class StandardJmsActivationSpecFactory implements JmsActivationSpecFactor
private Class activationSpecClass;
private Properties defaultProperties;
private Map<String, String> defaultProperties;
private DestinationResolver destinationResolver;
@@ -72,7 +71,7 @@ public class StandardJmsActivationSpecFactory implements JmsActivationSpecFactor
* listener-specific settings. Allows for configuring vendor-specific properties
* beyond the Spring-defined settings in {@link JmsActivationSpecConfig}.
*/
public void setDefaultProperties(Properties defaultProperties) {
public void setDefaultProperties(Map<String, String> defaultProperties) {
this.defaultProperties = defaultProperties;
}