File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
spring-jms/src/main/java/org/springframework/jms/config Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -154,14 +154,14 @@ else if ("simple102".equals(containerType)) {
154
154
String prefetch = containerEle .getAttribute (PREFETCH_ATTRIBUTE );
155
155
if (StringUtils .hasText (prefetch )) {
156
156
if (containerType .startsWith ("default" )) {
157
- containerDef .getPropertyValues ().add ("maxMessagesPerTask" , new Integer ( prefetch ) );
157
+ containerDef .getPropertyValues ().add ("maxMessagesPerTask" , prefetch );
158
158
}
159
159
}
160
160
161
161
String receiveTimeout = containerEle .getAttribute (RECEIVE_TIMEOUT_ATTRIBUTE );
162
162
if (StringUtils .hasText (receiveTimeout )) {
163
163
if (containerType .startsWith ("default" )) {
164
- containerDef .getPropertyValues ().add ("receiveTimeout" , new Integer ( receiveTimeout ) );
164
+ containerDef .getPropertyValues ().add ("receiveTimeout" , receiveTimeout );
165
165
}
166
166
}
167
167
You can’t perform that action at this time.
0 commit comments