Message selection
guys,
i have a query, i have to develop an application for a bank where the requirement is such that i need to send messages to several subscribers, but not all the messages be sent to all subscribers. What i mean to say is, messages are to be sent to a particular subscriber based upon the criteria set by the subscriber. this criteria is set by the subscriber and is based on his requirement. as far as i know, message selection can be done through message selectors only. how could message be sent to a particular subscriber based upon what he wants to receive depending upon what content is being sent in the message, can somebody help me out in resolving this issue, or tell me if i am wrong anywhere in the concept of message selector. thanks in advance for your kind help
james
Paul,
Please read on for my comments .....
First off. JMS does not specifically state aproperty
value needs to be a String. A property value can be
any one of the JMS primitive types. In my 1stexample
BVAL would clearly have been a float, something far
more efficient than a Java string.That's absolutely correct.
I fail to see why a dictionary containingkey/value
data is any different to an XML document containing
elements, attributes and respective values. As far as the data being published is concered, what
you
are saying is correct. If a piece of information can
be
represented by an xml, it can be represented by a
Dictionary
as well. In other words, the dictionary approach works
perfectly well for the publisher side of the
application.
However, how does one set a message selector on a JMS
consumer
based on what's inside the dictionary object? A JMS
vendor is
only expected to look into message properties while
checking
for message selection and not inside an Object
property.
Of course, a JMS Provider is free to come up with
proprietary
methods that allow consumers to specify selection
criterion
based on what's coming in a Dictionary Object.
However, XML
and XPath is a standard that fits the bill perfectly
and hence
is an obvious choice. This is exactly what Fiorano
did.
As a subscriber in both scenarios you need
to have an understanding of what it is you arelooking
for. Agreed. However, the publisher should not be forced to
know
what are all the consumers looking for. The fact that
a publisher
sets message properties in outgoing message requires
it to
be aware of the fact that interested consumers will be
looking
out for this particular property. A change in
consumer's selector
requires an appropriate change in the publisher.
Hence, a publisher
and a subscriber are not completely de-coupled from
each other.
As I have stated many times before the common
denominator between a subscriber and a publisher isa
queue or topic, the 2 remain decoupled.The above is fine as long as there are no message
selection
rules on the consumer. See note above.
JMS selectors work out well only where this setof
message selectors on a topic is finite and is not
expected to grow in future.
This I suspect is a result of poor implementation.This has nothing to with implementation. Consider an
ever
growing consumer list where each consumer has a
different
type of selector involving a different property name.
I
have already stated an example of such a requirement
in
my earlier post. How do you propose to build such a
system
with standard JMS selectors?
Guneet,
The last thing I want to do is help you, the other people at Fiorano or the people at Modena fix up your product.
Performance tells all and therefore implementation clearly does have something to do with it. Unfortunately for legal reasons we can no longer talk about performance comparisons.
I respectfully suggest that this thread end here.
Regards,
Paul Brant
my-Channels - Technologies working together
http://www.my-channels.com/
Similar Messages
-
My mail is not working properly: when I click on an email it hangs, frequently showing the previous email, often for up to a minute. Or it shows "loading" and just sits there showing nothing. OR there is a blank screen saying "no message selected". It's slow to load, and I'm not happy. Recently switched from Windows PC, not impressed so far. Very frustrating.
Any suggestions would be gratefully received. (I upgraded to Mountain LIon, and don't think I had problems before I did so, though I hadn't had the computer for long.)Hi Sarah,
Open Console in Utilities & see if there are any clues or repeating messages when this happens. -
My mail is set up and it comes up with 75 messages received but when I click onto the mail icon the page is blank(White) with the message 'no message selected' and then goes to the homepage. I have rebooted the iPad and deleted and reloaded my mail account but nothing works.
The app is crashing for some reason - maybe an email with a very large attachment or some crappy spam email is messing things up. Quit the mail app.
Go to the home screen first by tapping the home button. Quit/close mail by double tapping the home button and the task bar will appear with all of you recent/open apps displayed at the bottom. Tap and hold down on the mail app icon until it begins to wiggle. Tap the minus sign in the upper left corner to close it. Restart the iPad. Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
If mail still crashes, go to your webmail in a browser and see if you have an email in there that might be causing a problem and delete it. Then try the app again. If necessary, quit the app, restart the iPad and then try again.
If that doesnt help, try a reset. Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. -
Email does not appear when using the mail icon on the home screen. I get No message selected showing on the rh side of my screen with the left hand third of the screen blank. Buttons on the top line are greyed out except the new mail one. The word thread appears in black on the top left hand side of the screen The only way out is to close the screen. all other apps work okay.
Hello calverone,
Thanks for using Apple Support Communities.
To start troubleshooting this issue where the Mail application is not appearing correctly on your iPad, I'd like you to please force the Mail app to quit, and then restart your iPad.
iOS: Force an app to close
Turn your iOS device off and on (restart) and reset
Have a great weekend,
Alex H. -
Missing messages: Selection completed
Hi
We are extracting data from R/3 to BW using custom extractor which is used function module. Data is coming to BW and we could see same number of records as R/3 in PSA .The problem is in the detail tab of RSMO under extraction missing messages Missing messages: Selection Completed shows yellow and the extractor job in R/3 side shows active and we could see in SM51 its running and accessing ROIS table. When we go and check in ROIS table we didnt see our Info source over there. Is this the problem? Dont know how it related to Missing messages issue.
Note: We checked RFC Connection, short dumps, TRFC logs, ALE Management, system logs and all.
Appreciate help.
Thanks
NagaHello,
How did you solve this issue? We encounter the same issue. Please post the solution.
J. -
I have a blank screen that says "no message selected" on mail
when i try to get my mail the screen is empty except for a message in the middle "no message selected". everything seems frozen becuse if i tap "all mailboxes" nothing happens. i can not get off the screen unless i go back to may screen with all the icons on it. mail was working fine a few hrs ago
Try closing the Mail app completely and then re-open it : from the home screen (i.e.not with the Mail app 'open' on-screen) double-click the home button to bring up the taskbar, then press and hold any of the apps on the taskbar for a couple of seconds or so until they start shaking, then press the '-' in the top left of the Mail app to close it, and touch any part of the screen above the taskbar so as to stop the shaking and close the taskbar.
If that doesn't work then you could try a reset : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot. -
How to Viewing all Resent messages selecting a list of messages using advanced selection criteria
Hi have two questions both belong to same category so combined into one Please answer separately i really appreciate your time and the communites help.
I am using Single stack 7.31, Scenario ECC-->PI-->JMS(WMS)
1) A message got failed in PI mapping (mapping issue) while resending that message from messsage monitoring it goes through ESR and gets successfully posted in WMS.....
my Question is: "Is it possible to view every single message that has been resent from message minitoring(the number of time it has been resent not important) i know we can see by looking at the start time and end time difference.....but i want to see the complete list of everything resent???
2)We have a functionality User Defined Criteria in message monitoring, suppose i am filtering on the basis of idoc numbers, in a real time scenario where i have a list of some 100+ idoc numbers messages that failed in WMS(not in PI i.e status is successfull) i need to filter based on idoc number and resend them....can i filter a large list of idoc numbers not manually....though....how can i import or filter based on a long list??my Question is: "Is it possible to view every single message that has been resent from message minitoring(the number of time it has been resent not important) i know we can see by looking at the start time and end time difference.....but i want to see the complete list of everything resent???
>>>
under the message details, you have got additional selection options like duration was edited etc.. and even you can sort them based on duration. That might help you in getting the list.
However why don't you apply the filter when they are in error state which way you'll have all the failed message ID's and the details that your looking for? -
Send email to each message selected using applescript
Hi,
I have a script which will send a single email to a number of recipients but I wanted it to send individual emails to the selected messages. I also wanted the script to extract the first name from the sender field. The problem I've had with that is the sender field reads something like "Joe Blogs via PayPal" I'd be happy with "Joe Blogs" if I could remove the "via PayPal". I found a script to remove words from text
set replyName to {}
set replyNametext to ""
set replyName to "Joe Blogs via PayPal"
set haystack to replyName
set needle to " via PayPal"
set replacement to ""
search_replace(haystack, needle, replacement)
on search_replace(haystack, needle, replacement)
set old_delimiters to AppleScript's text item delimiters
set AppleScript's text item delimiters to needle
set temp_list to every text item of haystack
set AppleScript's text item delimiters to replacement
set return_value to temp_list as text
set AppleScript's text item delimiters to old_delimiters
return return_value
end search_replace
But I can't get that to work in the main script.
This is my main script:
set thesenders to {}
set thesenderstext to ""
set replyName to {}
set replyName to ""
tell application "Mail"
set themessage to the selection
repeat with i from 1 to the number of items in themessage
set thesender to (extract address from (the reply to of (item i of themessage)))
set replyName to (extract name from (the reply to of (item i of themessage)))
if thesenders does not contain thesender then
set thesenders to {thesender}
set replyName to {replyName}
end if
end repeat
set AppleScript's text item delimiters to ", "
set thesenderstext to thesenders as rich text
set AppleScript's text item delimiters to ""
set newMessage to make new outgoing message
set theSubject to "instructions"
set theContent to "Dear " & replyName & ",
Thanks so much for your email. ...
Regards ..."
set newMessage to make new outgoing message with properties {subject:theSubject, content:theContent, visible:true}
set theAttachment1 to POSIX file "/Users/Jim/qrcode.13177607.png"
set theAttachment2 to POSIX file "/Users/Jim/qrcode.13177658.png"
set theAttachment3 to POSIX file "/Users/Jim/qrcode.13177665.png"
tell newMessage
set visible to true
make new to recipient with properties {address:thesenderstext}
make new attachment with properties {file name:theAttachment1} at after the last paragraph
make new attachment with properties {file name:theAttachment2} at after the last paragraph
make new attachment with properties {file name:theAttachment3} at after the last paragraph
end tell
set toAddress to thesenders as rich text
tell newMessage
make new to recipient with properties {address:toAddress}
-- send
end tell
activate
end tell
I realise this is probably a bit of a Frankenstein monster of a script which probably contains lots of redundant features but I'm a total novice to scripts. Please could you help.
Thanks.
JimHi all,
We are also facing same issue.
The function ids:getUsersInGroup doesnt return value.
Even i imported identityservice.xsd and is_config .xsd and created variable using the *"users"* element of identityservice.xsd schema and assigned the value to this variable.
But Audit always says
*"XPath query string returns multiple nodes.*
*According to BPEL4WS spec 1.1 section 14.3, The assign activity part and query should not return multipe nodes.*
*Please check the BPEL source at line number "72" and verify the part and xpath query "*
Help me to resolve this issue. -
Nokia 6600 error message ' select access'
I have a Nokia 6600 which keeps on asking me to select the access point every 30 seconds. Does anyone know how to stop this?
Try the tips here:
http://discussions.nokia.co.uk/discussions/board/message?board.id=messaging&message.id=89#M89
Note: The 6600 is too old to find the correct access point settings on its own, I think. -
Exception Message Selection Group
Hi all,
I'm trying to create exception messages with MRP/MPS run under selection group 5(Exception during BOM explosion) and 6 Exception during availability check. Can someone pls let me know of when such an exception/error message can be triggerd?
Thanks and Regards
Deepak Prasanna SDear,
If you donot know when this EM should appear why are you changing it?
anyway...explanation is as below
5 and 6 triggers in the following condition
EMGroup -5
EM text-when this mesages apprearas
50 No BOM exists
52 No BOM selected
53 No BOM explosion due to missing config.
54 No valid run schedule header
55 Phantom assembly not exploded
EMGroup -6
25 Excess stock
26 Excess in individual segment
40 Coverage not provided by master plan
50 Shortage in the planning time fence
57 Disc. matl partly replaced by follow-up
58 Uncovered reqmt after effective-out date
59 Receipt after effective-out date
70 Max. release qty - quota exceeded
96 Stock fallen below safety stock level
I hope u understood....please come back if required
Edited by: Rajesha Vittal on Dec 21, 2007 8:11 PM -
Multiple Message Selects; How?
In the Exchange Online Protection, in the Exchange Admin Center, protection, and quarantine area for releasing; how do select a group of messages or the complete selection? I seem to be able to select only one message of the 300+ as one at a time.
Brian O'NeillHi,
the EAC doesn't allow to select mulitpe quarantined e-mails.
Maybe you can do something with Powershell?
Greetings
Christian
Christian Groebner MVP Forefront -
Missing message: Selection completed
Hi,
I'm loading from the source system, but it does not send a message over to the BW system telling that the selection has ended. I have check the job in the source system and it's completed but while on the bw side, it's still waiting for a selection completed message to complete the whole data load.
Does anyone has clue what is this happening? It works fine in the Development and Quality System, but this problems occurs in the production system.
Thanks in advance,
Best Regards,
CKHi CK Tan,
Please check the Idoc status of ARFCSTATE at job details in the source system side.
If ARFCSTATE = RECORDED is that packet is arrived in the bw System
If ARFCSTATE = CPICERR that data packet was not arrived in the system.
For every data packet it will genera the result of ARFCSTATE at job details...
By seeing the job details you can analyze weather your data has uploaded successfully in to BW system or not..
Regards,
PRK -
Get Messages (select account) does nothing
Clicking on Get Messages and selecting my Hotmail account results in absolutely no action being taken. It in no way indicates it checked a damn thing and messages that I know are in that mailbox do not show up in my Inbox. If I wait about a half an hour the messages will eventually populate my Thunderbird Inbox, but I want to change my password on that website now, not in 30 minutes or more.
given that Hotmail refuses connection attempts that are attempted at less that 15 minute intervals, it is not uncommon for clicking get mail to do nothing on hotmail accounts. Other that add an error to the activity monitor
-
Mail says "No Message Selected"
and I can't view any listings in mailboxes or searches. I've repaired permissions, closed and reopened, restarted after repair permissions. Running 10.10 on a 2009 iMac 10,1
Back up all data before proceeding.
1. Triple-click anywhere in the line below on this page to select it:
~/Library/Mail/Bundles
Right-click or control-click the highlighted line and select
Services ▹ Open
from the contextual menu.* A folder may open, or you may get an error message that the item can't be found. Either result is normal. If the folder does open and has contents, move the contents to the Desktop. Relaunch Mail and test. If there's no change, put the contents of the folder back and quit Mail again.
2. Repeat with this line:
/Library/Mail/Bundles
This time you may be prompted for your administrator login password when you remove the items. Make sure they're removed from the folder and not just copied to the Desktop. If necessary, copy them first and then move the originals to the Trash.
*If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination command-C. In the Finder, select
Go ▹ Go to Folder...
from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return. -
Nokia Messaging - Selecting an access point (N95)
Apologies if this has been covered before - I searched but couldn't turn up anything.
Maybe i'm missing something really obvious, but how/where on a N96 do I select which connection / access point the Nokia Messaging app uses to sync?
Thanks in advance.
Josh
Moderator Note: Removed unauthorised link
Message Edited by shehanj on 05-May-2009 11:21 AMHeh. I knew it was something (reasonably) obvious. For anyone else looking, it's found at:
Settings>General>Service Info
Maybe you are looking for
-
Unable to Check for Update on OS 5.1
My iPad 2 will not update its software over the air and comes up with the message Unable to Check for Update. I have tried updating via iTunes 10.6 and it just sits there trying to contact the update server. I have also reset the iPad and restored
-
Upgraded RAM but now won't recognize
I just bought a 1GB kit from RAMJET (2x 512mb) and installed the new DIMM's inside my mac. Now when I plugged everything back in and rebooted, the computer is not recognizing the new memory. When I go to "About This Mac" the system profile says there
-
What's wrong with my code? Help
I'm attaching the code here in case it'd help in getting a faster response. This is supposed to be an exercise in turtle graphics. The idea is to use the program to draw shapes using a series of commands (I'm sure the experts here are familiar with i
-
I love the new Adaptive grid in the PSE 13 Organizer but I lose the adaptive grid when I sort the photos by "album order". Is there a reason behind this?
-
Howtomake part of text as bold or differnt color text edit-webdynpro abap
Hi How to make part of text as bold or differnt color in text edit-webdynpro abap. If we can make it bold then it is ok....or else atleast we have make it into some other color of part of text. Note: I tried with class char utilities and able to solv