AnsweredAssumed Answered

Stateful Model for Forward Cars

Question asked by sdabbiru on Feb 12, 2018
Latest reply on Feb 13, 2018 by sdabbiru

Hi Support listeners,

 

I have this problem of late, when I tried to create a stateful virtual service for the forward cars inventory search application. All I was trying to do 

 

  • search for the inventory and get the list of cars
  • Add new cars and search again and get the list of cars with the newly added car
  • update the cars and get the new list.

 

I though , enabling the stateful mode will help in achieving the requirement, but in order to maintain the state, I'm not able to find any token. However there is one in the response (Mule session) but it is not helping in anyway. not sure if I'm missing any.

 

Do I need to achieve this in the hard way by writing custom scripts to persist the data?

 

Regards,

Shivakumar.

Outcomes