Acknowledge and message producers
I can't seem to find a clear explanation of the difference, if any, between the CLIENT_ACKOWLEDGE and AUTO_ACKNOWLEDGE mode from the message producer's perspective. Is it because the server acknowledge is implicitly received when the publish() or send() methods return?
Thanks in advance.
That is an implementation specific question. For example in JBossMQ, a send is a send is a send unless the Session is transacted. In short, message sending behaves the same way regardless of what the acknowledge mode is on the Session. The acknowledge mode only comes into play on the other end.
Here is 1,000 foot view of how it works. You call send/publish, the IL calls a remote "send" method on the server passing the message as an argument. When that method has retuned successfully, the producer is done. Now the server has the message and it is its responsibility to get it to the proper consumer. So the server selectes a qualified consumer and calls a method on its instance of that client proxy passing in an array of Messages for delivery. The server, however, keeps a instance of that message until it receivs an explicit Acknowledge from the consuming client(s).
So, as I said, acknolwedgement only affect the consuming client. But that is just the way that JBossMQ currently implements it. Other providers are free to implement it anyway they wish so long as it fulfills the requirments of the spec. However, aside for peer-to-peer based JMS implementations, I cannot think of a reason to put acknowledgement code on the producer.
What can I do there? Can I keep the message and require the receiving client send me an acknowledgement? Ssounds good, but doesn't work becuase producers often come on line, send a few messages, and go off line. The message has to be stored for acknowledgement on the server so acknowledgment is typically a protocol between the consumer and the server that should not affect the producer.
Similar Messages
-
I received the error (in iCal on my iMac): "The server responded with an error". The error message is very large, and if there is a way to acknowledge and close it I can't find it. Because this error message is open, I can't do anything in iCal. Any suggestions on how I could kill this error message? Thanks.
iMac, Mac OS X (10.7.2)
Basically i tried to enter too much information into my calendar and it has crashed now i can not get rid of the error message or use the calendar can anyone help pleasedid you find ou how to get rid of it i can't
-
Automatic Payment Process through IDOC and Receive Message Acknowledgement and BANST file format
Hi Experts,
We are implementing payment process to our client through Idoc.
Normally the process will go like below. Once Payment Initiated --> IDoc will generate --> This Idoc process through PI system and send to Bank.--> Once payment data received bank --> it will generate acknowledgement receipt and Bansta file and send it PI system --> This PI system system again send it --> SAP system. Here I want to know the required configuration from PI system to SAP system while receiving acknowledgement and Bansta file. And let me know if u guys have steps...
Thanks,
RaviramHi,
>is possible using the fileadapter to read this file and with pass it throug PI to IDOC receiver adapter without any mapping?
yes
>In that case what should the Message Type we are using in the file-sender adapter look like?
If you have no mapping it doesnt matter, the message type will not be validated during runtime. You can take the IDoc type imported from the SAP system
Regards,
Udo -
"Bundle Status" and "Acknowledge All Messages" = Problems
Server: ZCM10.3.4 (was and before). sles10_64
- From the SLED11 (FF) open server
https://zcmserver
- go to the
/Bundles/MyBundles/
- This folder i see list bundles with columns:
"Status" "Name" "Type" "Category" "Enabled" "Version"
- For Bundle "Copy of Create_D_INSTALLZCM" i see:
"Bundle Status" != Normal
- Ok.. Open this Bundle and see:
"Number of errors not acknowledged:" = 3
and in the "Message Log" (after press REFRESH) i see this error messages...
This is OK.
- At the LEFT ("Bundle Tasks") i see Button: "Acknowledge All Messages".
- Press to this "Acknowledge All Messages"
After this:
"Number of errors not acknowledged:" = 0 and this is OK.
- Back to the "/Bundles/MyBundles/" and i see AGAIN:
"Bundle Status" != Normal
Logout | Login. Reboot ZCM server... do not resolver this problem... again and again:
"Bundle Status" != Normal
If not to press the button "Acknowledge All Messages" And to open each message, in each message to mark
"Acknowledge" and "Delete" and after that to press "Next Message" - All will BE OK(Without an error which has described above).
Why button "Acknowledge All Messages" works incorrectly?
How to correct?
SergSkoltogyan,
> Logout | Login. Reboot ZCM server... do not resolver this problem...
> again and again:
> "Bundle Status" != Normal
>
> If not to press the button "Acknowledge All Messages" And to open each
> message, in each message to mark
> "Acknowledge" and "Delete" and after that to press "Next Message" - All
> will BE OK(Without an error which has described above).
>
> Why button "Acknowledge All Messages" works incorrectly?
> How to correct?
You have two issues here. See:
http://www.novell.com/documentation/...a/bay7wv7.html
Acknowledge is not the same as "Delete"
The other is that the "status" you see on the Bundle is not always updated correctly.
- Anders Gustafsson (NKP)
The Aaland Islands (N60 E20)
Novell has a new enhancement request system,
or what is now known as the requirement portal.
If customers would like to give input in the upcoming
releases of Novell products then they should go to
http://www.novell.com/rms -
Idoc Acknowledgements and BPM.
All,
My current requirement is to post an Idoc from my BPM, and get back the Idoc Acknowledgement. On the basis of the status field in the ALEAUDIT Idoc I need to determine the further course in my BPM.
<u><b>Option 1:</b></u>
1. In the Send Step of my BPM , I can request for Application Acknowledgement. I have done this and am able to receive the Acknowledgement and see the same against the Acknowledgement Msg ID in MONI. I am able to see the ALEAUDIT idoc triggered for my Send Step back to my BPM .
The question in case we are to use this Option is , how do I access this AleAudit Idoc message in my BPM. As I want to have a switch, I need this to be populated in a container element of my BPM. Is this possible? Is this approach a correct one? Any Ideas?
<u><b>Option 2</b></u>
I can have a Send Step in my BPM to send the Idoc from XI to R3. this will be a normal Send Step with no Acknowledgements. I can also use a Receive Step in the BPM to receive the ALEAUDIT Idoc back to the BPM.
This I guess can be done with a Receive determination where R3 is the sender and the AleAudit Idoc is the receive etc.
Issues with this approach, I need to use a Correlation against the Send and Receive Step to send the Idoc and receive the AleAudit.
1. What is the Correaltion that can be used? Is there a standard correaltion. for such cases?I looked into the Idoc and the AleAudit but could' nt find a suitable Correlation Field.
Do both these solutuons make sense? has anyone got a better approach?
Any comments are appreciated.
Regards
Bhavesh
PS: Have gone through the How to guide on Idoc Ack's and the blogs on SDN as well. But if still someone feels that there is a blog that is relevant to this issue, please do let me know if I have missed anything.Ha, now that was interesting question. Brains were rusty, relooked into that lookup and these are the fields of the IDXRRCVPOR we use,
Used the RFC - RFC read table
XI's Idoc Number is in Field IDOCNUMBER
Original SAP IDoc Number is in Field SNDLAD.
Code excerpt attached below.
@ Henrique : Work's been crazy past few months. The blog is on my to do list, hopefully someday soon it should be out. My Apologies guys!
Channel rfcChannel = LookupService.getChannel(BusinessService, CommChannel);
//As the call is being made to RFC, RFCAccessor is obtained.
rfcAccessor = LookupService.getSystemAccessor(rfcChannel);
rfcXML =
"<?xml version=\"1.0\" encoding=\"UTF-8\"?><ns0:RFC_READ_TABLE xmlns:ns0=\"urn:sap-com:document:sap:rfc:functions\"><DELIMITER/><NO_DATA/><QUERY_TABLE>IDXRCVPOR</QUERY_TABLE><ROWCOUNT/><ROWSKIPS/><DATA><item><WA/></item></DATA><FIELDS><item><FIELDNAME>SNDLAD</FIELDNAME><OFFSET/><LENGTH/><TYPE/><FIELDTEXT/></item></FIELDS><OPTIONS><item><TEXT>IDOCNUMBER EQ '"
+ SourceDocNum
+ "'</TEXT></item></OPTIONS></ns0:RFC_READ_TABLE>";
inputStream = new ByteArrayInputStream(rfcXML.getBytes());
XmlPayload inPayload = LookupService.getXmlPayload(inputStream);
Payload outPayload = rfcAccessor.call(inPayload);
responseStream = outPayload.getContent();
DocumentBuilderFactory factory =DocumentBuilderFactory.newInstance();
/* Create DOM structure from input XML */
DocumentBuilder builder = factory.newDocumentBuilder();
Document document = builder.parse(responseStream);
NodeList list = document.getElementsByTagName("WA");
for (int k = 0; k < list.getLength(); k++) {
Node node = list.item(k);
if (node != null) {
node = node.getFirstChild();
if (node != null) {
if (!node.getNodeValue().equals("")) {
OutputDocNum = node.getNodeValue();
Regards
Bhavesh -
IDOC Acknowledgement and Header Mapping
Dear all,
I've got the following scenario:
SAP 4.6C is sending many different IDOCs to XI 3.0 (SP14).
On XI side there are several integration processes, business systems and business services receiving the IDOCs.
I want to create IDOC acknowledgements and send them back to SAP system.
For one integration process I was able to successfully create and send back an acknowledgement by following the steps described in the very good blog:
/people/saravanakumar.kuppusamy2/blog/2005/01/20/configuration-tips-for-a-business-serviceintegration-process-to-send-back-ale-audit-idoc
Now I want that every integration process/business system/business service is sending back an acknowledgement with the <b>same</b> logical system name (meaning "this acknowledgement is coming from XI").
As it is not possible to enter the same logical system name for more than one process I created a receiver agreement with:
Sender Service = the integration process
Receiver Service = the SAP 4.6C business system
Receiver Interface = ALEAUD.ALEAUD01
Receiver Communication Channel = IDOC receiver channel called "Ack_IDOC_Receiver", existing in SAP 4.6C business system and pointing to this system
Additionally I created a header mapping in this receiver agreement where I set the Sender Service to the business system of the XI system.
Unfortunately the tests showed to me that obviously the header mapping (maybe even the whole receiver agreement) is being ignored completely as no Acknowledgement IDOC will be created. Instead I get the error message "Unable to convert sender service to an ALE logical system".
I also played around a bit with the options "Apply Control Record Values from Payload" and "Pass Sender value from Payload" but this didn't make any difference.
Why is the header mapping not replacing the sender service in the acknowledgement message?
Best regards,
TobiasTobias,
we have the same Problem.
we´re sending with Receiving Partner "12345" and the IDoc in the target System is filled with the standard SAP Value maybe the one configured in the SDL.
We have configured our IDOC_REceiver with a mark on "Apply Control Record Value from payload".
If you have a look at the SAP Helpfile you will find out that some header fields are not be changeable and get the value from sap.
like IDOC-Number, Receiving Partner and maybe the sender service ???
Regards,
Gordon -
Didn't receive an acknowledgement of message
Hi,
I am getting an issue in flex with respect to
de-serialization of java objects to as3. I am already having as3
objects being referenced in main SWF but once I am fething the data
from the middleware using remote object, I get the following error:
[FaultEvent fault=[RPC Fault faultString="Didn't receive an
acknowledgement of message" faultCode="Server.Acknowledge.Failed"
faultDetail="Was expecting message
'BCA1FC29-2D05-4A71-B10D-F89B4C32C36E' but received
'8A4E55B2-5D5A-495D-BB61-65F5D61F68D6'."]
messageId="7779E8EE-CF8C-2F14-9501-F89B533787BF" type="fault"
bubbles=false
cancelable=true eventPhase=2]
At server and client side I am using granite as a wrapper
over AMF which does the serialization and de-serialization.
Please advise.
Thanks,
PankajIn your flex builder, go to menu "project > clean..."
Your project need to be recompiled after you update the LCDS
config files. Cleaning the project forces a recompile. -
Acknowledging individual message, leaving others in the queue
Hi,
I am trying to find a way to acknowledge some messages while leaving others on the queue but when I do call m.acknowledge() on the message I want to ack all the messages previously received are removed from the queue. I have read the doc and it seems to me like what I want to do is not possible, hence my post :/
The scenario is:
1. I have 2 messages on a queue
2. I receive message 1 and decide to keep it on the queue
3. I receive message 2, process it and acknowledge it
4. Both messages have been removed from the queue
Do you know how I could achieve the following behaviour:
1. I have 2 messages on a queue
2. I receive message 1 and decide to keep it on the queue
3. I receive message 2, process it and acknowledge it
4. Only message 1 is left on the queue
Thanks a lot,
MickaelThe behavior you are seeing is expected by JMS specification for javax.jms.Message.acknowledge().
Have you looked at MQ's com.sun.messaging.jms.Message.acknowledgeThisMessage() ? -
I have one apple ID and multiple family members share this with their individual devices. How do we keep pics and messages separate for each device?
For messages
MacMost Now 653: Setting Up Multiple iOS Devices For Messages and FaceTime
For other issue:
How to use multiple iPods, iPads, or iPhones with one computer
What is the best way to manage multiple...: Apple Support Communities -
JMS paging store - what is difference between bytes and messages threshholds?
You can activate and configure both "bytes paging" and "message paging". What
is the difference? Why use one or the other or are both required?
Thanks,
John
Hi Mr. Black,
Cool name.
Message paging is based on number of messages. Bytes paging is based
on the size of message payload (properties, body, corr-id, and type),
where the payload does not include the header size. One can set
either or both -- if both are set, paging kicks in as soon
as the first threshhold is reached.
As for which one to use, you may wish to set both. The former
accounts for large numbers of small messages, and the latter
handles large messages. (eg 1000 small 10 byte messages
will charge 10,000 bytes toward quota but actually use up
128,000 bytes of JVM memory once the header is thrown in...)
Tom
John Black wrote:
> You can activate and configure both "bytes paging" and "message
paging". What
> is the difference? Why use one or the other or are both required?
>
> Thanks,
> John
-
What is difference between transport protocol and message protocol
what is difference between transport protocol and message protocol
please give definition and small explanationHi,
Transport protocol gives information about outside of message details, kind of system, security details.
A transport protocol is a network protocol that has the capability of transferring some payload from one node to another, thus providing some level of transparency from the underlying network.
Transport protocols are used as a mechanism to move payloads around a network. Typically, a payload will have a transport binding associated with it. For example, SOAP (acting as a payload) has a predetermined binding for HTTP (a transport protocol).
Some common transport protocols include: HTTP, HTTP-R, SMTP and BEEP.
Message protocol gives you an idea of message type XI payload
http://help.sap.com/saphelp_nw04/helpdata/en/b6/0b733cb7d61952e10000000a11405a/content.htm -
On previous iPhones you could go to settings and block the the actual text message from pooping up. Only the sender would show up. On the i4gs the sender and message show up. This is a major flaw as far as privacy. There are no options with in settings to stop this from happening. PLEASE TELL ME IM WRONG ???
YOU ARE WRONG.
Go to Settings > Notifications > Messages. You can turn Notifcation Center off for Messages, or select None for the alert style, and turn Show Preview off, and view in Lock Screen on or off. -
Jabber and Messages: error with cert
Hi all,
Since upgrading to Mavericks, I'm not able to connect to my company's Jabber server. I get a cert error, even after I've trusted the cert. All Mavericks users at our company are having the same problem, so the problem isn't just on my computer. I've enclosed a screen shot of the error.
Is anyone else having the same problem? The same setup - Jabber and Messages - works fine in Mountain Lion and previous OS versions.
Thanks!Hi,
Look at item 4 in this article
http://support.apple.com/kb/TS3970
Some people deliberately alter this file to prevent some apps from "phoning home"
If I am reading this Cert info correctly you are one of the companies that someone might block.
9:58 pm Monday; November 4, 2013
iMac 2.5Ghz 5i 2011 (Mavericks 10.9)
G4/1GhzDual MDD (Leopard 10.5.8)
MacBookPro 2Gb (Snow Leopard 10.6.8)
Mac OS X (10.6.8),
Couple of iPhones and an iPad -
ey How Do I Get Group Message On The IPhone 4s because some reason it doesn't want to show . First i did is setting then messages it only show imessage and message count )HELP)
At the bottom of the page Settings > Messages you should have a section headed "SMS/MMS" Turn MMS messaging on then you can turn group message on.
-
Hi...lags animations in games and messages and album pic..when disable assistive touch,it's true and fix..please release update to fix this in ios 7.1..i need assistive touch and fast game and animation booth!!
No Apple here, user to user forum.
I will not be releasing any version of iOS ever.
Maybe you are looking for
-
How to center Text Box on Web Page? -- Web dev with Word 2013
I'm trying to assist a user who wants to use Word 2013 for simple web page development. There are many tools but they want to use Word 2013. Actually have it working by saving the Word 2013 files as web pages... like index.htm, about.htm, etc. The pr
-
How do I delete iTunes music off my iPad 2?
I have an iPad 2 running 7.0.3. I need to delete all my songs off my iPad 2 because I recently had a mini stroke and am finding mt iPad 2 more of a necessity every day requiring me to down load more and more apps. I would like to keep my radio statio
-
Why i can't install iTune 10.6.3 on windows vista home premium x86 ????
-
Hi Need some help regarding downloads and data usage on my Iphone 4. In one month my usage doubled and I had 6 downloads which used up half of my data allowance (250mb). I hadn't used my phone any differently and I do not download music/movies/tv pro
-
Hi, We want the system to pick the date of next working day if the payment due date is falling on non working day during billing. There is a functional module 'DATE_CONVERT_TO_FACTORYDATE' available. I donu2019t know where to use this FM so that it c