Announcement Announcement Module
Collapse
No announcement yet.
unmarshalling-transformer/marshalling-transformer Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • unmarshalling-transformer/marshalling-transformer

    Hi Guys,

    I am using marshalling-transformer/unmarshalling-transformer for marshalling/unsmarshalling the request/response messages from stringfied xml to/from objects, along with oxm:jibx-marshaller.

    As I understand---

    For each request/response , I have to define a separate
    HTML Code:
    marshalling-transformer/unmarshalling-transformer with two channels input and output.
    oxm:jibx-marshaller with target class attribute.
    I am still ok with marshalling as my DTOs are extending one top level class, so marshalling can be achieved with one marshaller.

    But for unmarshalling, I end up creating n*2 unmarshallers and n*2 channels for n number of requests.

    Essentially, if i have a pair like request1/response1 .... request(n)/response(N) then the structures mentioned above increases with number N.

    Do we have some smart solution for -
    I dont have to create so many things like....

    HTML Code:
    marshalling-transformer/unmarshalling-transformer with two channels input and output.
    oxm:jibx-marshaller with target class attribute.
    In my case I am kind of reaching the request/responses to 80.. and that make me so confused when I look at config files....

    May be I am missing something..?
Working...
X