cancel
Showing results for 
Search instead for 
Did you mean: 

Process file after file / not all files at the same time

Former Member
0 Kudos

Hi There,

i have a new Problem with our XI Systems.

We process XML Files.. they come in a folder on the Server.. from there the Engine takes it and processes the message.

This works so:

In the folder /xyz/ comes a XML File... File1.xml

After 2 Minutes the XI System takes the messages and proccess it. The Engine then move the file to Folder /archive/

Another two minutes later a new file comes in to the Folder /xyz/ File2.xml

File2.xml change now data that comed with File1.xml

and two minutes later the Engine processes the message

and so on and on....

My problem is now.. when i put File1.xml and File2.xml in the Folder /xyz/ at the same time.. the Engine processes the Messages at the same time.. and inconsistencys comes into my system.

So what i want is:

I Put File1.xml and File2.xml into the same folder.. then the Engine comes and Process first File1.xml and when this finished the System proccesses File2.xml

Do you know what i mean?

Eventually someone has a solution for my question?

Thanks

Bjoern

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

solved

Former Member
0 Kudos

use QOS as EOIO

SudhirT
Active Contributor
0 Kudos

Yes,

Try the solution by sreenivas, But in that case if one message fails then all other messages will stuck in the queue so schedule all the automatic queue handling reports.

Thanks!

dharamveer_gaur2
Active Contributor
0 Kudos

Hi

If you are using FTP then files picked by Adapter in Alphabetical order.

Former Member
0 Kudos

Hi,

Use Exacltly Once In Order as quality of serive...need to give queue name..

If we do so, files will be picked in one by one..

Regards,

Sreenivas.

Former Member
0 Kudos

Hi,

thanks for your help,

@sreenivas

So what i have to do to change this settings?

SudhirT
Active Contributor
0 Kudos

Change QOS in sender file adapter as EOIO. and write any queue name from SMQR tcode.

Thanks!

Former Member
0 Kudos

@Sudhir

Thanks, but i am new to XI.. and this was a little bit fast

Can you explain this please a little more detailed?

Thanks

Bjoern

Former Member
0 Kudos

Hello,

In File sender adapter, Select quality of service as EOIO

and specify any queuename....

For ex : TEST

you can find that queue in SMQ2/Q1 searching as TEST

Generally thew queues will start with XBTQ*...in you case it should be XBTQTEST.

Regards,

Sreenivas.

SudhirT
Active Contributor
0 Kudos

Open Integration builder with tcode SXMB_IFR->Integration Directory->your Scenario-->Sender Communication Channel>Edit mode->Processing Parameter--->Quality Of service to EOIO(Exactly Once in Order) and use the default queue coming and save then activate the Communication channel.

Thanks!

Former Member
0 Kudos

OK. I found now in the INtegration Builder the Point as you can see in the Screenhot here:

http://img253.imageshack.us/my.php?image=58047457ux6.jpg

But my Problem is that i dont know exactly which queue i have to take..

In SXMB_ADM i found the following queues:

http://img253.imageshack.us/my.php?image=57846606uq4.jpg

And in the SXMB_MONI i see the following for messages:

http://img111.imageshack.us/my.php?image=47303569tg7.jpg

From the screenshots above, can you tell me which queue i have to take?

Or did i have to take the Queue that comes automatically when i choose EOIO?!

Thanks

Bjoern

Edited by: bjoern bayerschmidt on Dec 18, 2008 2:17 PM

Former Member
0 Kudos

you can create a new queue in SMQR with any name, and enter the queue name in you communication channel.

Former Member
0 Kudos

Hmm my messages already use defined queue.. so i dont want to create a new one... i only dont know which queue i can take?!

Edited by: bjoern bayerschmidt on Dec 18, 2008 3:00 PM

Former Member
0 Kudos

Hi,

As i told earlier, can you enter the name in adapter...Once you execute the scenario, you will find the same queue in SXMB_MONI. Just click on the same to see the queue entries..

and when you select EOIO , what is the default queue name you r getting....

Regards,

Sreenivas.

Former Member
0 Kudos

Ah now i understand.. i can take every name there?

So when i Select EOIO in the Integration Builder this entry appears: XBTO3___0000

Can i use this one?

SudhirT
Active Contributor
0 Kudos

if this is the default queue,use this as i said in earlier reply and lets know if it does your purpose.

Former Member
0 Kudos

I dont know if this is the default queue... therefore i posted the 3 Screenshots because eventually someone can tells me what is the default queue?

Former Member
0 Kudos

I`ve tested it now.

I activated "Exactly Once in Order" with the default Queue-Name that was in the field.

XBTO3___0000

But after that the messages disappeared and the system did not processed them?!

Is the queue eventually false?

After i Activated XBTO3___0000 i thougt i see this Queue in SMQR... but there is no queue called XBTO3___0000 ?!

Can you assist here?