File tree Expand file tree Collapse file tree 3 files changed +6
-17
lines changed
components/camel-smpp/src/main/java/org/apache/camel/component/smpp Expand file tree Collapse file tree 3 files changed +6
-17
lines changed Original file line number Diff line number Diff line change @@ -127,15 +127,9 @@ protected void doStop() throws Exception {
127
127
private void closeSession () {
128
128
if (session != null ) {
129
129
session .removeSessionStateListener (this .internalSessionStateListener );
130
- // remove this hack after http://code.google.com/p/jsmpp/issues/detail?id=93 is fixed
131
- try {
132
- Thread .sleep (1000 );
133
- session .unbindAndClose ();
134
- // clear session as we closed it successfully
135
- session = null ;
136
- } catch (Exception e ) {
137
- LOG .warn ("Cannot close session due " + e .getMessage ());
138
- }
130
+ session .unbindAndClose ();
131
+ // clear session as we closed it successfully
132
+ session = null ;
139
133
}
140
134
}
141
135
Original file line number Diff line number Diff line change @@ -166,13 +166,8 @@ protected void doStop() throws Exception {
166
166
private void closeSession () {
167
167
if (session != null ) {
168
168
session .removeSessionStateListener (this .internalSessionStateListener );
169
- // remove this hack after http://code.google.com/p/jsmpp/issues/detail?id=93 is fixed
170
- try {
171
- Thread .sleep (1000 );
172
- session .unbindAndClose ();
173
- } catch (Exception e ) {
174
- LOG .warn ("Could not close session " + session );
175
- }
169
+ session .unbindAndClose ();
170
+ // clear session as we closed it successfully
176
171
session = null ;
177
172
}
178
173
}
Original file line number Diff line number Diff line change 351
351
<!-- Upgrade to 1.7.26 causes stability issues. See CAMEL-10477 -->
352
352
<jruby-version >1.7.18</jruby-version >
353
353
<jsendnsca-version >1.3.1</jsendnsca-version >
354
- <jsmpp-version >2.3.2 </jsmpp-version >
354
+ <jsmpp-version >2.3.3 </jsmpp-version >
355
355
<jsch-version >0.1.54</jsch-version >
356
356
<jsch-bundle-version >0.1.54_1</jsch-bundle-version >
357
357
<jsendnsca-bundle-version >1.3.1_3</jsendnsca-bundle-version >
You can’t perform that action at this time.
0 commit comments