cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How can i override OrderSplittingService?

PrashanthPundalik
Participant
0 Likes
223

I want to change the consignment numbers so need to override DefaultOrderSplittingService but when i try to override through spring its not reflecting. Its a class present in jar so any thing to do with that?

Accepted Solutions (0)

Answers (2)

Answers (2)

PrashanthPundalik
Participant
0 Likes

I tried the same way by adding a spring mapping with same alias but when i do so splitting is not working properly and i cant see any errors in console

0 Likes

In order to override the class files present in jar, you need to create your custom service class that overrides the OOTB class and then by having a spring mapping to navigate to this overridden custom class instead of the OOTB class. You can try this way.