Welcome Guest ( Log In | Register )


 
Reply to this topicNew Topic
Pluggable Transport Development Question, How to get the consumptionId of the Integration Pickup point
Rahul Bhandary
post Jun 26 2010, 05:39 PM
Post #1


Visitor
*

Group: Members
Posts: 4
Joined: 11-June 10
Member No.: 1,366


Hello All,

I trying to create a Pluggable Transport in GI using the SDK. Is it possible for for me to get the consumptionID for the invoked Integration pickup point in the List method. I know that in the Consume method I can use message meta data to retrieve the consumptionID but I am not aware of any means to get it in the list method.

If not consumptionID is there any other identifier I can use within the List method with will uniquely represent the Integration Pickup Point.

Thanks and Regards
Rahul
Go to the top of the page
 
+Quote Post
remery
post Jun 28 2010, 06:41 AM
Post #2


Regular Contributor
***

Group: Members
Posts: 31
Joined: 28-January 09
From: Scottsdale, AZ
Member No.: 301


Hell Rahul,

There is no data passed into the list method. However, you could provide an additional setting within the PluggableSettings that you could access within the list method. When the pluggable client is configured each instance would need to be setup with a unique value.

Regards,
Ric

QUOTE (Rahul Bhandary @ Jun 26 2010, 11:39 AM) *
Hello All,

I trying to create a Pluggable Transport in GI using the SDK. Is it possible for for me to get the consumptionID for the invoked Integration pickup point in the List method. I know that in the Consume method I can use message meta data to retrieve the consumptionID but I am not aware of any means to get it in the list method.

If not consumptionID is there any other identifier I can use within the List method with will uniquely represent the Integration Pickup Point.

Thanks and Regards
Rahul

Go to the top of the page
 
+Quote Post
Rahul Bhandary
post Jun 28 2010, 03:02 PM
Post #3


Visitor
*

Group: Members
Posts: 4
Joined: 11-June 10
Member No.: 1,366


Thanks Ric. I wanted to avoid having users put in the unique ID/Value via the pluggable settings because it could be prone to user error (user not putting in a unique value) and in the code I would not know or be able to check if the value is unique. With using the consumptionId I know for sure that this id/value will be unique across pickup/exchanges.

However since there is no way to get the desired unique value from the calling thread, i have gone ahead and created the Unique ID in the pluggable settings.

Thanks again for your help.

Thanks and Regards
Rahul


QUOTE (remery @ Jun 28 2010, 01:41 AM) *
Hell Rahul,

There is no data passed into the list method. However, you could provide an additional setting within the PluggableSettings that you could access within the list method. When the pluggable client is configured each instance would need to be setup with a unique value.

Regards,
Ric

Go to the top of the page
 
+Quote Post

Reply to this topicNew Topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Skin designed by IPB Forum Skins