Does saperpproduct and sappricing raw items need to be feed into the same feed / pool? Or can they be processed in their own respective feed / pools?
I notice that they both use DEFAULT_FEED and GLOBAL_POOL.
I have injected rawFragmentDataFeedName
with a custom feed for the saperpproductMATMASMappingService
bean:
<bean id="saperpproductMATMASMappingService" class="com.hybris.datahub.sapidocintegration.IDOCMappingService">
<property name="rawFragmentDataExtensionSource" value="saperpproduct" />
<property name="rawFragmentDataFeedName" value="MATMAS_IDOC_INBOUND_EVENT_FEED" />
<property name="rawFragmentDataType" value="RawMATMAS" />
</bean>
Can I use a different custom feed name for sappricingCOND_AMappingService
? Like PRICING_IDOC_INBOUND_EVENT_FEED
?
Yes, only as of release 5.7 and above for sapproduct/saperpproduct.
In release 5.6 and lower, there are still occurrences of hardcoded pool name in the code such as :
final DataHubPool pool = feedService.findPoolByName("GLOBAL");
While in release 5.7 and above, code use reference pool as follow :
final DataHubPool pool = canonicalItem.getDataPool();
Looking at older release of sappricing, there is no reference canonical item within the same pool. Therefore you could use a separate pool for sappricing even in lower releases.
Add a comment