ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Interchange Server + Adapters » recovery message when mysap adapter fails

Post new topic  Reply to topic
 recovery message when mysap adapter fails « View previous topic :: View next topic » 
Author Message
pc.verhey
PostPosted: Tue Sep 13, 2005 11:56 pm    Post subject: recovery message when mysap adapter fails Reply with quote

Newbie

Joined: 13 Sep 2005
Posts: 6

In our company we build an interface where
1. The broker sends a message, and the adapter makes an IDOC
of it.
2. The broker sends a message, and the adapter makes an BAPI of it
3. SAP sends an IDOC

We have all that working, but what happens when a message goes
wrong in the adapter, can we recover it.

In a ideal world we want to take the message that went wrong and put it a second time on an input queue of thee adapter.

This is important for us, because it is forbidden to louse messages.

So does somenone knows the answer?
Back to top
View user's profile Send private message
djeripo
PostPosted: Wed Sep 14, 2005 7:30 am    Post subject: Reply with quote

Master

Joined: 25 Jan 2004
Posts: 225

What do you mean by 'Message went wrong'? Could you elaborate.
If at all your event did not pass through the flow,You can always re-submit the same event using 'Flow Manager'.
Back to top
View user's profile Send private message Visit poster's website
pc.verhey
PostPosted: Thu Sep 15, 2005 1:12 am    Post subject: Reply with quote

Newbie

Joined: 13 Sep 2005
Posts: 6

I make a litle design
mes means message


customer-->mes-->broker--->mes--->adapter---IDOC/BAPI---SAP

Someone makes a mistake and the the adapter says I don't like
the mesage (for instance no XSD files) so the 'error' is in the adapter.
How can I recover it when the customer says I can't sent the message a second time.
Back to top
View user's profile Send private message
djeripo
PostPosted: Mon Sep 19, 2005 1:36 pm    Post subject: Reply with quote

Master

Joined: 25 Jan 2004
Posts: 225

I am not sure How SAP Adapter works.I am sure it would be pretty much similar to JDBC/JText where you have Archive,Output and Event tables/Directories.
If for some reason , JText connector picks up a bad message from the Event directory,It archives in the archive directory with .fail extension.
Broker failed to process message because ,There was a problem with the message.In the middleware terms,Adapter should not re-work on the bad message and convert it into the good message so that it would be picked again.Its the responsibilty of the sending application(customer) to send a good message.
Back to top
View user's profile Send private message Visit poster's website
recallsunny
PostPosted: Wed Sep 21, 2005 12:17 pm    Post subject: Reply with quote

Disciple

Joined: 15 Jun 2005
Posts: 163
Location: Massachusetts

The one good thing about Adapters is they use a common framework, hence what is true for one adapter behaviour applies to the rest...
Since you've configured your adapter with BrokerType as WMQI, it forces the DeliveryType to JMS... which is good!!
Quote:
If connector framework cannot deliver the business object to the WebSphere InterChange Server-integration broker, then the object is placed on a FaultQueue.
This is the default behaviour if a JMS delivery transport is used, and applies for SAP adapter too.

The rest is simple, either you can have a message flow pick up these fault BO's and log them or have a triggering setup for FaultQueue, to call a batch script to handle this...
Back to top
View user's profile Send private message
pc.verhey
PostPosted: Fri Sep 23, 2005 3:50 am    Post subject: Reply with quote

Newbie

Joined: 13 Sep 2005
Posts: 6

If connector framework cannot deliver the business object to the WebSphere InterChange Server-integration broker, then the object is placed on a FaultQueue.

oke that is the way from the framework to the adapter. But what happens
the other way around?

If the broker delivers a message to the framework, and the framework cannot deliver the business object to the applicaton then the object is placed on............

somthing like this happens for instance when someone make a mistake
with the configuration of the framework and the framework doesn´t recognize the message. You can of course say the businessystem should send the message again but that is not always posible.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Interchange Server + Adapters » recovery message when mysap adapter fails
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.