diff --git a/asyncqueue.c b/asyncqueue.c index 6695a2b8..3a315a0e 100644 --- a/asyncqueue.c +++ b/asyncqueue.c @@ -892,7 +892,7 @@ int AsyncQueueAction(SConnection * pCon, SicsInterp * pSics, char line[132]; pAsyncQueue self = (pAsyncQueue) pData; if (argc > 1) { - if (strcasecmp("send", argv[1]) == 0) { + if (strcasecmp("send", argv[1]) == 0 || strcasecmp("transact", argv[1]) == 0) { AsyncUnit myUnit; char cmd[10240]; char rsp[10240]; @@ -1117,6 +1117,8 @@ int AsyncQueueAction(SConnection * pCon, SicsInterp * pSics, SCPrintf(pCon, eValue, "%s.trace = %d", argv[0], self->trace); if (self->noreply_text) SCPrintf(pCon, eValue, "%s.noreply = %s", argv[0], self->noreply_text); + if (self->protocol && self->protocol->protocolName) + SCPrintf(pCon, eValue, "%s.protocol = %s", argv[0], self->protocol->protocolName); return OKOK; } }