The new project structure only requires the version of the connector to be set at the parent section of the pom. If you have the another one at the properties like below, either update to the same version as above or remove the property.
1<properties>2 <!-- NOTE - update the parent package whenever updating this setting - make sure the versions match-->3 <connect-sdk>1.1.7</connect-sdk>
4 <commercetools.version>9.2.2</commercetools.version>5</properties>
Java Changes
`MessageHandler` is now an interface. Any references to it must now change from extends to implements.
`HandlerException` has been renamed to `HandlerRetryException`.
`AccountReference` is now a record and access to its members has changed.
`ListenerInfo` package has moved to `com.fluentcommerce.connect.core.listener.external.ListenerInfo`.
`ExternalListener` has been renamed to `BaseExternalListener`.
`ExternalMessageReceiver` package has moved to `com.fluentcommerce.connect.core.listener.external.ExternalMessageReceiver`.
`JobHandler` is now an interface and the `package` has moved to `com.fluentcommerce.connect.core.job.extend.JobHandler`.
`FluentConnectConfiguration` has been renamed to `ApplicationConfigurationService`.
`ExternalMessageReceiver` interface updates.
A number of improvements/changes to `HandlerContext` classes to improve resource access control stay within the account-retailer context.
Configuration service will automatically prefix configuration/setting keys with the connector configuration namespace. For example, requesting a property named “my-key” for a connector named “my-connector” will result in the configuration service retrieving a setting from Fluent with the following setting key: “`fc.connect.my-connector.my-key`“.
All LocalDateTime usage within the SDK has changed to `ZonedDateTime` and the timezone defaults to UTC regardless of the system timezone.
There is also a new service `DateService` that can return a proper current datetime in UTC.
Handler routes are now grouped into logical groups.
Configuration Required Changes
application.yml
The following listener configuration is no longer used and can be removed
Listener configuration should be updated as follows:
The snippet below brings a new listener for notification and changes for listener types
Please note that the deployment process also needs to introduce a new variable for SQS_NOTIFICATION to specify the notification queue.
Remember to review the pool size settings for your project needs
With the Fluent account being set in the configuration below, remove the following files: `application-dev.yml`, `application-qa.yml`, `application-test.yml` and `application-test2.yml`.
Remove the listener configuration for commercetools_events as it has been consolidated at the application.yml. Alternatively, all listener configurations can be done on this file.
Add the credential setting to specify the manager name
Route configuration has changed. All out-of-the-box routes are pre-configured and do not require anything on the yml files unless you have modified those settings. The list provided below is the out-of-the-box commercetools connector routes part of the module and can be removed.