Skip to content

Tag: spring

Converting java object to xml

How can i convert java object to xml? I am trying to convert an incoming java object to xml in spring integration with a converter bean. is there another way than marshalling in Jaxb ? like using @TypeConverter. Or implementing converter class. Answer I’m not familiar with @TypeConverter, but looks that…

Java Design Pattern (Orchestration/Workflow)

I need to automate the workflow after an event occurred. I do have experience in CRUD applications but not in Workflow/Batch processing. Need help in designing the system. Requirement The workflow involves 5 steps. Each step is a REST call and are dependent on previous step. EX of Steps: (VerifyIfUserInSystem…

Spring not calling the default constructor

I have made a simple spring boot application: Here I have put @Component annotation on the Student class. So I can get the student object from the application context. But the id and name are not initialized as per the default constructor. What could be the reason for this? Does spring not call the default co…

Http request and response from rabbitmq

I have question about http request and rabbit mq . How I can have this sample 1- client request to server with http request 2- severe after receive request put to rabbit mq 3- in one job , lisiner read message after process on time response to client with http response Is it possible ? If yes please help me