cancel
Showing results for 
Search instead for 
Did you mean: 

How to get sender name in mapping

inigo_sacramento
Participant
0 Kudos

Hi everyone.

In order to set the response to one or other machine, i need the name of the sender system.

How can i get that in message mapping with graphical mapping?

Thanks.

Accepted Solutions (0)

Answers (3)

Answers (3)

stefan_grube
Active Contributor
0 Kudos

If you need only the sender service name, you can use the function <i>sender</i> of type <i>Constants</i>.

Regards

Stefan

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

1. if you want the name of the sender service:

String constant;

java.util.Map map;

map = container.getTransformationParameters();

constant = (String) map.get(StreamTransformationConstants.Sender_service);

return constant;

2. if you want to know the XI system you can try with properties (sometimes it's a good idea to use them)

/message/686478#686478 [original link is broken]

Regards,

michal

-


<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions">XI FAQ - Frequently Asked Questions</a>

moorthy
Active Contributor
0 Kudos