Author |
Message
|
guddi |
Posted: Thu Jul 15, 2010 11:10 am Post subject: Posting dynamic data over url |
|
|
Newbie
Joined: 15 Jul 2010 Posts: 5
|
Hi,
I have a requirement to post data to a fixed url. Now for every request I am sending, I need to append some Unique ID along with the static url for every outgoing request.
For example:
If my static url is: http://server:port/
My outgoing data over url needs to be like this: http://server:port/?UniqueID
this unique id is nothing but security identifier.
Could some please suggest how to implement the same over esql.
Thanks in advance
Regards
Guddi |
|
Back to top |
|
 |
Gaya3 |
Posted: Thu Jul 15, 2010 11:15 am Post subject: |
|
|
 Jedi
Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US
|
are you looking for concatinating the strings and its possible through string functions and quite easy in ESQL.
if you are looking for string functions in ESQL, do search in this forum as well as in Google, or download the ESQL PDF  _________________ Regards
Gayathri
-----------------------------------------------
Do Something Before you Die |
|
Back to top |
|
 |
Vitor |
Posted: Thu Jul 15, 2010 11:29 am Post subject: Re: Posting dynamic data over url |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
guddi wrote: |
I have a requirement to post data to a fixed url. Now for every request I am sending, I need to append some Unique ID along with the static url for every outgoing request. |
Is this why you're trying to chop up the message id here? If so, is that the best you can do as an unique id? Why not use the whole message id? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
mqjeff |
Posted: Thu Jul 15, 2010 11:46 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
I would use the ESQL Set statement. |
|
Back to top |
|
 |
guddi |
Posted: Thu Jul 15, 2010 9:57 pm Post subject: |
|
|
Newbie
Joined: 15 Jul 2010 Posts: 5
|
are you looking for concatinating the strings and its possible through string functions and quite easy in ESQL.
I have concatenated, but my question is how will I post the data to URL which is dynamic and changes every time. |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Jul 16, 2010 5:39 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
As an aside why use the msgid? This is a BLOB value. ESQL has a UUID generator, you can have a BLOB or you can have a CHAR containing a unique ID.
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|