- Added
MaxConcurrentOffers
to RouterWorker and CreateWorkerOptions - Added createJobWithClassificationPolicy and createJobWithClassificationPolicyWithResponse to JobRouterClient and JobRouterAsyncClient
- Added updateXX methods that accept and return XX in JobRouterClient, JobRouterAdministrationClient, JobRouterAsyncClient and JobRouterAdministrationAsyncClient
- Added value to RouterWorkerSelector/RouterQueueSelector constructor, remove setter
- Change return type of createJobWithResponse to RouterJob instead of BinaryData in JobRouterClient and JobRouterAsyncClient
- Fix Jackson annotations for all models
- JobRouterClient and JobRouterAdminClient no longer throws 401 errors when HmacAuthenticationPolicy is not provided
- Upgraded
azure-core
from1.53.0
to version1.54.1
. - Upgraded
azure-core-http-netty
from1.15.5
to version1.15.7
. - Upgraded
azure-communication-common
from1.3.7
to version1.3.8
.
- Upgraded
azure-core-http-netty
from1.15.4
to version1.15.5
. - Upgraded
azure-core
from1.52.0
to version1.53.0
.
- Upgraded
azure-core-http-netty
from1.15.3
to version1.15.4
. - Upgraded
azure-communication-common
from1.3.5
to version1.3.7
. - Upgraded
azure-core
from1.51.0
to version1.52.0
.
- Upgraded
azure-communication-common
from1.3.4
to version1.3.5
. - Upgraded
azure-core
from1.50.0
to version1.51.0
. - Upgraded
azure-core-http-netty
from1.15.2
to version1.15.3
.
- Upgraded
azure-core-http-netty
from1.15.1
to version1.15.2
. - Upgraded
azure-communication-common
from1.3.3
to version1.3.4
. - Upgraded
azure-core
from1.49.1
to version1.50.0
.
- Upgraded
azure-communication-common
from1.3.3
to version1.3.4
. - Upgraded
azure-core
from1.49.0
to version1.49.1
. - Upgraded
azure-core-http-netty
from1.15.0
to version1.15.1
.
- Upgraded
azure-core
from1.48.0
to version1.49.0
. - Upgraded
azure-core-http-netty
from1.14.2
to version1.15.0
. - Upgraded
azure-communication-common
from1.3.2
to version1.3.3
.
- Upgraded
azure-core
from1.47.0
to version1.48.0
. - Upgraded
azure-communication-common
from1.3.1
to version1.3.2
.
- Upgraded
azure-core-http-netty
from1.14.0
to version1.14.1
. - Upgraded
azure-core
from1.46.0
to version1.47.0
. - Upgraded
azure-communication-common
from1.3.0
to version1.3.1
.
- Upgraded
azure-communication-common
to1.3.0
- Upgraded
azure-core-http-netty
from1.13.11
to version1.14.0
. - Upgraded
azure-core
from1.45.1
to version1.46.0
.
- NullPointerException in routerQueue.getLabels()
- createJob() deserialization error.
-
listQueues
returnsPagedIterable<RouterQueue>
rather thanPagedIterable<RouterQueueItem>
-
listDistributionPolicies
returnsPagedIterable<DistributionPolicy>
rather thanPagedIterable<DistributionPolicyItem>
-
listClassificationPolicies
returnsPagedIterable<ClassificationPolicy>
rather thanPagedIterable<ClassificationPolicyItem>
-
listExceptionPolicies
returnsPagedIterable<ExceptionPolicy>
rather thanPagedIterable<ExceptionPolicyItem>
-
Response objects of create, update, get and list methods are changed to return BinaryData.
-
update, get, list and delete methods are updated to take RequestOptions in request instead of entity options classes like UpdateClassificationPolicyOptions.
-
listJobs
returnsPagedIterable<RouterJob>
rather thanPagedIterable<RouterJobItem>
-
listWorkers
returnsPagedIterable<RouterWorker>
rather thanPagedIterable<RouterJobWorker>
-
Response objects of create, update, get and list methods are changed to return BinaryData.
-
update, get, list and delete methods are updated to take RequestOptions in request instead of entity options classes like UpdateWorkerOptions.
- Changed constructor from
RouterJobNote()
toRouterJobNote(string message)
- Removed setter from
Message
- Rename property
QueueAssignments
->Queues
Queues
- ChangedMap<String, RouterQueueAssignment>
->List<String>
- Rename property
TotalCapacity
->Capacity
- Rename property
ChannelConfigurations
->Channels
Channels
- ChangedMap<String, ChannelConfiguration>
->List<RouterChannel>
- Property
List<QueueSelectorAttachment> QueueSelectors
changed toList<QueueSelectorAttachment> QueueSelectorAttachments
- Property
List<WorkerSelectorAttachment> WorkerSelectors
changed toList<WorkerSelectorAttachment> WorkerSelectorAttachments
- Property
ExceptionRules
- Changed fromMap<String, ExceptionRule>
->List<ExceptionRule>
Actions
- ChangedMap<String, ExceptionAction>
->List<ExceptionAction>
- Changed constructor from
CancelExceptionAction(String note = null, String dispositionCode = null)
toCancelExceptionAction()
- Changed constructor from
ReclassifyExceptionAction(String classificationPolicyId, Map<String, LabelValue> labelsToUpsert = null)
toReclassifyExceptionAction()
- Removed setter from
LabelsToUpsert
- Removed constructor
BestWorkerMode(RouterRule scoringRule = null, List<ScoringRuleParameterSelector> scoringParameterSelectors = null, bool allowScoringBatchOfWorkers = false, int? batchSize = null, bool descendingOrder = true, bool bypassSelectors = false)
- Rename property
AllowScoringBatchOfWorkers
->IsBatchScoringEnabled
- Removed properties
AppKey
andFunctionKey
- Removed property
ClientSecret
- Changed
Map<String, Double> EstimatedWaitTimeMinutes
toMap<Integer, TimeSpan> EstimatedWaitTimes
- Renamed
GreaterThanEqual
toGreaterThanOrEqual
- Renamed
LessThanEqual
toLessThanOrEqual
ChannelConfiguration
->RouterChannel
Oauth2ClientCredential
->OAuth2WebhookClientCredential
LabelValue
->RouterValue
ClassificationPolicyItem
DistributionPolicyItem
ExceptionPolicyItem
RouterQueueItem
RouterWorkerItem
RouterJobItem
RouterQueueAssignment
UpdateClassificationPolicyOptions
UpdateDistributionPolicyOptions
UpdateExceptionPolicyOptions
UpdateQueueOptions
UpdateWorkerOptions
UpdateJobOptions
- Add
ETag
- Added setters to
FallbackQueueId
,Name
, andPrioritizationRule
- Add
ETag
- Added setters to
Mode
andName
- Added
ETag
- Added setter to
Name
- Added
Id
- Added
Id
. Property is read-only. If not provided, it will be generated by the service.
- Added setter to
ClassificationPolicyId
- Added
ChannelId
- Added
ETag
- Added setters for
ChannelId
,ChannelReference
,ClassificationPolicyId
,DispositionCode
,MatchingMode
,Priority
,QueueId
- Added
ETag
- Added setters for
DistributionPolicyId
,ExceptionPolicyId
andName
- Added
ETag
- Added setters to
ScoringRule
andScoringRuleOptions
This is the beta release of Azure Communication Service JobRouter Java SDK. For more information, please see the README.
This is a public preview version, so breaking changes are possible in subsequent releases as we improve the product. To provide feedback, please submit an issue in our Azure SDK for Java GitHub repo.
- Using
JobRouterAdministrationClient
- Create, update, get, list and delete
DistributionPolicy
. - Create, update, get, list and delete
RouterQueue
. - Create, update, get, list and delete
ClassificationPolicy
. - Create, update, get, list and delete
ExceptionPolicy
.
- Create, update, get, list and delete
- Using
JobRouterClient
- Create, update, get, list and delete
RouterJob
. RouterJob
can be created and updated with different matching modes:QueueAndMatchMode
,ScheduleAndSuspendMode
andSuspendMode
.- Re-classify a
RouterJob
. - Close a
RouterJob
. - Complete a
RouterJob
. - Cancel a
RouterJob
. - Un-assign a
RouterJob
, with option to suspend matching. - Get the position of a
RouterJob
in a queue. - Create, update, get, list and delete
RouterWorker
. - Accept an offer.
- Decline an offer.
- Get queue statistics.
- Create, update, get, list and delete