异步处理

This commit is contained in:
shikong 2023-08-25 16:53:51 +08:00
parent d2ae05e135
commit dfee61b6af

View File

@ -47,6 +47,7 @@ public class SipListenerImpl implements SipListener {
}
@Override
@Async(DefaultSipExecutor.EXECUTOR_BEAN_NAME)
public void processResponse(ResponseEvent responseEvent) {
Response response = responseEvent.getResponse();
int status = response.getStatusCode();