on 10-18-2013 2:04 PM
Hello Experts,
Proxy to JDBC scenario in PI 7.31 single stack.
I have the requirement that whenever proxy is coming to PI, it needs to look into another JDBC table, if the specific field in that table is available against the fields which comes from proxy. Then only that files needs to be processed and send successfully to JDBC other it should fail.
Do JDBC Lookup works over here??
If so please suggest how to use the same in PI 7.31, Single Stack.
Waiting for your valuable replies.
Thanks a lot in advance.
Thanks
Ravi.
Hello Ravi
Yes you can do Jdbc Lookup check below link for that
after lookup you can check for your field if it is available then pass it otherwise if it's not available then raise the exception and stop it in mapping only.
Regards
gAgan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello experts,
To import the table, do we need any authorization to that tables for the user we use in the JDBC receiver communication channel.
Please provide your valuable inputs.
Thanks
RAvi..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
you need a JDBC Lookup, but i would create a UDF insted of standard JDBC Lookup.
that because you will need to receive a collection of the fields that exists in the table in the DB, then validate which fields exists and send only those field.
the other way should be call a JDBC lookup per field. in this case the standar function apply better.
i dont have the whole context of the scenario i give you alternatives.
BTW are you trying to get the TABLE1 from your DB same as the blog? You need to find the table which you will compare the fields that come in the client proxy .
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rodrigo,
Can you please elaborate step by step. First I am trying to import table as external definition. As of now, no JDBC receiver channel is created and neither parameters in message mapping.
And my scenario is PROXY to JDBC and we are using same receiver jdbc channel for all the outbound scenarios. In this case do i need to create another JDBC receiver channel with the same connection parameters??
Waiting for your valuable reply.
Thanks
Ravi
Hello ravi,
check below help doc for step by step approach
Regrads
gAgan
Hi, if you take a look to the blog, to be able to impot the table first, you need to create a CC. second go to ESR--> create an "external definition" object and select the option to import the TABLE, there you need to define the DB name and the DB table, thats all
once you import it you have two possibilities, create another CC for the integration or use the channel created before, the configuration will be the same. its up to you.
Best Regards
Rodrigo
have you seen this blog?
Rgds
Hello,
U can certainly use standard JDBC lookup function inside mapping and depending upon the response send message to another system.
Thanks
Amit Srivastava
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.