Binds data forwarding routes between queues when an app requires one-to-many data distribution. This API is synchronous.
As shown in the following figure, two routes (Q1 -> Q2 and Q1 -> Q3) can be established.

aclError acltdtBindQueueRoutes(acltdtQueueRouteList *qRouteList)
Parameter |
Input/Output |
Description |
|---|---|---|
qRouteList |
Input/Output |
Pointer to the route list. This API call returns the route binding result. Call acltdtCreateQueueRouteList to create data of the acltdtQueueRouteList type, and then call acltdtAddQueueRoute to add a route. |
0 on success; else, failure.
This API returns a success message only when all routes in a queue are successfully bound and the route status is normal. If any route fails to be bound, this API returns a failure message. To locate the failure, you can call acltdtGetQueueRoute to obtain each route from the route list, and call acltdtGetQueueRouteParam to query the binding status.