Hi,

I have tried and failed to understand how to incorporate SSL and
authentication into the java client. I have referred many websites
Eg.[1],[2].[3] and referred IBM knowledge center, but could not understand
how SSL and authentication works on queue managers. I know I should figure
this out myself, but I did my best and couldn't figure it out. Can you
please help out if possible?

The main thing I don't understand is what should go into C:\Program Files
(x86)\IBM\WebSphere MQ\qmgrs\SSLQMGR\ssl\key directory? (where SSLQMGR is
the name of a queue manager I created) I found this[4] site speaking of it.
But, I am not sure I understand anything much there. Maybe it is because I
am not an expert in SSL certificates and keystores being a newbie. Can you
please help out in some way?
If you would show me some way to follow I hope I would be able to figure it
out.

Further I am planning to improve my knowledge on connectors in the coming
week.

[1]
http://www.ibm.com/developerworks/websphere/library/techarticles/0510_fehners/0510_fehners.html
[2] https://docs.oracle.com/cd/E19509-01/820-3503/ggfad/index.html
[3]
http://stackoverflow.com/questions/2692070/connecting-to-a-websphere-mq-in-java-with-ssl-keystore
[4]
http://www-01.ibm.com/support/knowledgecenter/SSFKSJ_8.0.0/com.ibm.mq.sec.doc/q010090_.htm

Thank you.

Yours sincerely,
Riyafa Abdul Hameed

On 23 February 2016 at 05:40, Riyafa Abdul Hameed <riyafa...@cse.mrt.ac.lk>
wrote:

> Hi,
> I suppose then it would be better to use the polling custom-inbound
> endpoint. I will try to understand ssl and authentication feature and
> report back.
>
> Thank you.
>
> Yours sincerely,
> Riyafa
>
>
> On 22 February 2016 at 07:02, Malaka Silva <mal...@wso2.com> wrote:
>
>> Hi Riyafa ,
>>
>> I guess you can implement it using one of those types. One issue is event
>> based type is going to be introduce with ESB 5.0.0. Next wso2 esb version.
>> If you use this this feature will not work with previous versions on esbs.
>>
>> I think you can adjust Get-message
>> ​ ​
>> behavior using WaitInterval
>> ​ parameter and do polling or event-based. [1]
>>
>> However there may be issues with client libraries when waiting for long
>> periods. We first need to do a r&d of the behavior from library when there
>> are no messages for a long period. Based on that we should decide the
>> correct approach.
>>
>> Also it is important to include SSL and authentication into this feature.​
>>
>> [1]
>> https://www-01.ibm.com/support/knowledgecenter/SSB23S_1.1.0.12/gtpc2/mqgmost.html
>>
>> On Sun, Feb 21, 2016 at 6:58 PM, Riyafa Abdul Hameed <
>> riyafa...@cse.mrt.ac.lk> wrote:
>>
>>> Hi,
>>>
>>> Can you please suggest if it would be appropriate to use an event based
>>> custom inbound endpoint in this case so that I would learn more about it?
>>>
>>> Thank you.
>>>
>>> Yours sincerely,
>>> Riyafa
>>>
>>> On 21 February 2016 at 18:09, Rajjaz Mohammed <raj...@wso2.com> wrote:
>>>
>>>> Hi Riyafa,
>>>> You no need to follow exactly as same as in [1]. it's just an try of
>>>> one developer so you can try your own way.
>>>>
>>>> [1]
>>>> https://github.com/Kirishanthy/IBM-MQ-Client/blob/master/ibmmqClient/src/main/java/MQProducerSSL.java
>>>>
>>>> On Sun, Feb 21, 2016 at 5:38 PM, Riyafa Abdul Hameed <
>>>> riyafa...@cse.mrt.ac.lk> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>>
>>>>>
>>>>> *Reporting progress:*
>>>>> This week I learned about inbound endpoints and how to use them. I did
>>>>> some searching and found that two types of custom inbound endpoints are
>>>>> suitable as consumer for IBM MQ:
>>>>>
>>>>> 1. Polling custom inbound endpoint
>>>>> 2. Event based custom inbound endpoint
>>>>>
>>>>> As for the first one I have found that code have been written to
>>>>> achieve this[1]. As for the second I think it is more appropriate to use 
>>>>> it
>>>>> when " the number of messages arriving on the queues is unpredictable. In
>>>>> this case if polling is used, applications could be consuming system
>>>>> resources even when there are no messages to retrieve." I have found in 
>>>>> [2]
>>>>> and [3] about triggers. I have not tried any of those yet. I will do so
>>>>> hopefully in the near future.
>>>>>
>>>>> Further I went through the code provided in [1] and found that I have
>>>>> created the consumer and the producer in the same way as in the above 
>>>>> code.
>>>>> But I didn't understand how to use ssl with the queue manager[4]. I will
>>>>> try to understand that as well.
>>>>>
>>>>> That is what I have done this week. Please inform me whether my
>>>>> approach is correct and what else I could do.
>>>>>
>>>>> [1]https://github.com/search?q=user%3AKirishanthy+ibm-mq
>>>>> [2]
>>>>> https://www-01.ibm.com/support/knowledgecenter/SSFKSJ_7.5.0/com.ibm.mq.dev.doc/q026910_.htm
>>>>> [3]
>>>>> http://stackoverflow.com/questions/26840204/ibm-websphere-mq-triggering-issue
>>>>> [4]
>>>>> https://github.com/Kirishanthy/IBM-MQ-Client/blob/master/ibmmqClient/src/main/java/MQProducerSSL.java
>>>>>
>>>>> Thank you.
>>>>>
>>>>> Yours sincerely,
>>>>> Riyafa
>>>>>
>>>>> On 14 February 2016 at 16:46, Riyafa Abdul Hameed <
>>>>> riyafa...@cse.mrt.ac.lk> wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> Thank you for the reply. I shall follow the links you sent and report
>>>>>> progress.
>>>>>>
>>>>>> Thanks again,
>>>>>> Riyafa
>>>>>>
>>>>>> On 13 February 2016 at 20:45, Rajjaz Mohammed <raj...@wso2.com>
>>>>>> wrote:
>>>>>>
>>>>>>> Hi Riyafa,
>>>>>>> Good to hear, first learn how wso2 ESB custom inbound works[1][2].
>>>>>>> And there is a thread regarding IBM MQ Inbound/Connector[3] already so 
>>>>>>> you
>>>>>>> can check the issues and samples[4][5].
>>>>>>>
>>>>>>> [1]
>>>>>>> https://docs.wso2.com/display/ESB490/Working+with+Inbound+Endpoints
>>>>>>> [2]
>>>>>>> http://wso2experience.blogspot.com/2015/08/getting-started-with-simple-wso2-esb_22.html
>>>>>>> [3]
>>>>>>> http://wso2-oxygen-tank.10903.n7.nabble.com/IBM-MQ-Inbound-Connector-for-WSO2-ESB-td125494.html#a125507
>>>>>>> [4] https://github.com/Kirishanthy/esb-connectors/tree/master/ibmmq
>>>>>>> [5] https://github.com/search?q=user%3AKirishanthy+ibm-mq
>>>>>>>
>>>>>>> On Sat, Feb 13, 2016 at 8:22 PM, Riyafa Abdul Hameed <
>>>>>>> riyafa...@cse.mrt.ac.lk> wrote:
>>>>>>>
>>>>>>>> Hi Malaka,
>>>>>>>>
>>>>>>>> I managed to install Websphere MQ 7.5 on my windows machine and to
>>>>>>>> try connection as consumer and producer from simple java clients I
>>>>>>>> created [1]. Please suggest what else that needs to be done to get 
>>>>>>>> started.
>>>>>>>>
>>>>>>>>
>>>>>>>> [1] https://github.com/riyafa/websphere/tree/master/src/riyafa
>>>>>>>>
>>>>>>>> Thank you,
>>>>>>>> Riyafa
>>>>>>>>
>>>>>>>> On 11 February 2016 at 19:32, Malaka Silva <mal...@wso2.com> wrote:
>>>>>>>>
>>>>>>>>> Yes sometimes there are issues when installing on​ linux based
>>>>>>>>> system. Go ahead and try on Windows.
>>>>>>>>>
>>>>>>>>> ​You can call me Malaka :)
>>>>>>>>>
>>>>>>>>> On Thu, Feb 11, 2016 at 7:28 PM, Riyafa Abdul Hameed <
>>>>>>>>> riyafa...@cse.mrt.ac.lk> wrote:
>>>>>>>>>
>>>>>>>>>> Dear sir,
>>>>>>>>>>
>>>>>>>>>> I failed to install IBM MQ 7.5 on my Ubuntu machine. It seemed
>>>>>>>>>> to be because of attempting to install rpm files. I will try to 
>>>>>>>>>> install it
>>>>>>>>>> in a windows machine or in a redhat or fedora version of linux. Then 
>>>>>>>>>> I will
>>>>>>>>>> try connection as a consumer and producer from a java client. I
>>>>>>>>>> shall report progress every week.
>>>>>>>>>>
>>>>>>>>>> Thank you.
>>>>>>>>>>
>>>>>>>>>> Yours sincerely,
>>>>>>>>>> Riyafa
>>>>>>>>>>
>>>>>>>>>> On 11 February 2016 at 06:38, Malaka Silva <mal...@wso2.com>
>>>>>>>>>> wrote:
>>>>>>>>>>
>>>>>>>>>>> Hi Riyafa,​
>>>>>>>>>>>
>>>>>>>>>>> Please post the progress weekly or once in two weeks.​
>>>>>>>>>>>
>>>>>>>>>>> On Wed, Feb 10, 2016 at 10:31 PM, Riyafa Abdul Hameed <
>>>>>>>>>>> riyafa...@cse.mrt.ac.lk> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Hi,
>>>>>>>>>>>>
>>>>>>>>>>>> I shall do that and report once done or if I have any problem.
>>>>>>>>>>>>
>>>>>>>>>>>> Thank you.
>>>>>>>>>>>>
>>>>>>>>>>>> Yours sincerely,
>>>>>>>>>>>> Riyafa
>>>>>>>>>>>>
>>>>>>>>>>>> On 10 February 2016 at 12:38, Malaka Silva <mal...@wso2.com>
>>>>>>>>>>>> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> Hi Riyafa,
>>>>>>>>>>>>>
>>>>>>>>>>>>> First you should install IBM MQ 7.5.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Then try connection as consumer and producer from a java
>>>>>>>>>>>>> client. Using IBM MQ client.
>>>>>>>>>>>>>
>>>>>>>>>>>>> This need to add consumer functionality to custom inbound
>>>>>>>>>>>>> endpoint and producer to a connector.
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Wed, Feb 10, 2016 at 7:16 AM, Riyafa Abdul Hameed <
>>>>>>>>>>>>> riyafa...@cse.mrt.ac.lk> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Dear sir,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I am a third year Computer Science and Engineering
>>>>>>>>>>>>>> undergraduate at University of Moratuwa. I would like to take 
>>>>>>>>>>>>>> part in GSoC
>>>>>>>>>>>>>> 2016 with the open source community of WSO2.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I am quite familiar with the ESB-Connectors of WSO2. I have
>>>>>>>>>>>>>> previously worked with the saleforce, google-spreadsheet and the 
>>>>>>>>>>>>>> peopleHR
>>>>>>>>>>>>>> connectors on a project that involved automating the filling of 
>>>>>>>>>>>>>> a google
>>>>>>>>>>>>>> spreadsheet with details from salesforce. I am also quite 
>>>>>>>>>>>>>> familiar working
>>>>>>>>>>>>>> with the WSO2 ESB and have prior experience of writing proxy 
>>>>>>>>>>>>>> services. And
>>>>>>>>>>>>>> I am a quick learner.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I have also contributed to the peopleHR connector of WSO2
>>>>>>>>>>>>>> [1].
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Being quite familiar with the WSO2 connector development, I
>>>>>>>>>>>>>> consider doing the project "Native inbound and connector for IBM 
>>>>>>>>>>>>>> MQ 7.5"
>>>>>>>>>>>>>> with the WSO2 community for GSoC this year.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Please kindly make any suggestions on how I could proceed.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> [1] https://github.com/wso2/esb-connectors/pull/419
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Thank you.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Yours sincerely,
>>>>>>>>>>>>>> Riyafa
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> --
>>>>>>>>>>>>>> Riyafa Abdul Hameed
>>>>>>>>>>>>>> Undergraduate, University of Moratuwa
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Email: riyafa...@cse.mrt.ac.lk
>>>>>>>>>>>>>> Website: https://riyafa.wordpress.com/
>>>>>>>>>>>>>> <http://riyafa.wordpress.com/>
>>>>>>>>>>>>>> <http://facebook.com/riyafa.ahf>
>>>>>>>>>>>>>> <http://lk.linkedin.com/in/riyafa>
>>>>>>>>>>>>>> <http://twitter.com/Riyafa1>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> --
>>>>>>>>>>>>>
>>>>>>>>>>>>> Best Regards,
>>>>>>>>>>>>>
>>>>>>>>>>>>> Malaka Silva
>>>>>>>>>>>>> Senior Tech Lead
>>>>>>>>>>>>> M: +94 777 219 791
>>>>>>>>>>>>> Tel : 94 11 214 5345
>>>>>>>>>>>>> Fax :94 11 2145300
>>>>>>>>>>>>> Skype : malaka.sampath.silva
>>>>>>>>>>>>> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
>>>>>>>>>>>>> Blog : http://mrmalakasilva.blogspot.com/
>>>>>>>>>>>>>
>>>>>>>>>>>>> WSO2, Inc.
>>>>>>>>>>>>> lean . enterprise . middleware
>>>>>>>>>>>>> http://www.wso2.com/
>>>>>>>>>>>>> http://www.wso2.com/about/team/malaka-silva/
>>>>>>>>>>>>> <http://wso2.com/about/team/malaka-silva/>
>>>>>>>>>>>>> https://store.wso2.com/store/
>>>>>>>>>>>>>
>>>>>>>>>>>>> Save a tree -Conserve nature & Save the world for your future.
>>>>>>>>>>>>> Print this email only if it is absolutely necessary.
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>> Riyafa Abdul Hameed
>>>>>>>>>>>> Undergraduate, University of Moratuwa
>>>>>>>>>>>>
>>>>>>>>>>>> Email: riyafa...@cse.mrt.ac.lk
>>>>>>>>>>>> Website: https://riyafa.wordpress.com/
>>>>>>>>>>>> <http://riyafa.wordpress.com/>
>>>>>>>>>>>> <http://facebook.com/riyafa.ahf>
>>>>>>>>>>>> <http://lk.linkedin.com/in/riyafa>
>>>>>>>>>>>> <http://twitter.com/Riyafa1>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>>
>>>>>>>>>>> Best Regards,
>>>>>>>>>>>
>>>>>>>>>>> Malaka Silva
>>>>>>>>>>> Senior Tech Lead
>>>>>>>>>>> M: +94 777 219 791
>>>>>>>>>>> Tel : 94 11 214 5345
>>>>>>>>>>> Fax :94 11 2145300
>>>>>>>>>>> Skype : malaka.sampath.silva
>>>>>>>>>>> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
>>>>>>>>>>> Blog : http://mrmalakasilva.blogspot.com/
>>>>>>>>>>>
>>>>>>>>>>> WSO2, Inc.
>>>>>>>>>>> lean . enterprise . middleware
>>>>>>>>>>> http://www.wso2.com/
>>>>>>>>>>> http://www.wso2.com/about/team/malaka-silva/
>>>>>>>>>>> <http://wso2.com/about/team/malaka-silva/>
>>>>>>>>>>> https://store.wso2.com/store/
>>>>>>>>>>>
>>>>>>>>>>> Save a tree -Conserve nature & Save the world for your future.
>>>>>>>>>>> Print this email only if it is absolutely necessary.
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Riyafa Abdul Hameed
>>>>>>>>>> Undergraduate, University of Moratuwa
>>>>>>>>>>
>>>>>>>>>> Email: riyafa...@cse.mrt.ac.lk
>>>>>>>>>> Website: https://riyafa.wordpress.com/
>>>>>>>>>> <http://riyafa.wordpress.com/>
>>>>>>>>>> <http://facebook.com/riyafa.ahf>
>>>>>>>>>> <http://lk.linkedin.com/in/riyafa>  <http://twitter.com/Riyafa1>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>>
>>>>>>>>> Best Regards,
>>>>>>>>>
>>>>>>>>> Malaka Silva
>>>>>>>>> Senior Tech Lead
>>>>>>>>> M: +94 777 219 791
>>>>>>>>> Tel : 94 11 214 5345
>>>>>>>>> Fax :94 11 2145300
>>>>>>>>> Skype : malaka.sampath.silva
>>>>>>>>> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
>>>>>>>>> Blog : http://mrmalakasilva.blogspot.com/
>>>>>>>>>
>>>>>>>>> WSO2, Inc.
>>>>>>>>> lean . enterprise . middleware
>>>>>>>>> http://www.wso2.com/
>>>>>>>>> http://www.wso2.com/about/team/malaka-silva/
>>>>>>>>> <http://wso2.com/about/team/malaka-silva/>
>>>>>>>>> https://store.wso2.com/store/
>>>>>>>>>
>>>>>>>>> Save a tree -Conserve nature & Save the world for your future.
>>>>>>>>> Print this email only if it is absolutely necessary.
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Riyafa Abdul Hameed
>>>>>>>> Undergraduate, University of Moratuwa
>>>>>>>>
>>>>>>>> Email: riyafa...@cse.mrt.ac.lk
>>>>>>>> Website: https://riyafa.wordpress.com/
>>>>>>>> <http://riyafa.wordpress.com/>
>>>>>>>> <http://facebook.com/riyafa.ahf>
>>>>>>>> <http://lk.linkedin.com/in/riyafa>  <http://twitter.com/Riyafa1>
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> Dev mailing list
>>>>>>>> Dev@wso2.org
>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Thank you
>>>>>>> Best Regards
>>>>>>>
>>>>>>> *Rajjaz HM*
>>>>>>> Associate Software Engineer
>>>>>>> WSO2 Inc. <http://wso2.com/>
>>>>>>> lean | enterprise | middleware
>>>>>>> Mobile | +94752833834
>>>>>>> Email   | raj...@wso2.com
>>>>>>> LinkedIn | Blogger | WSO2 Profile
>>>>>>> <http://wso2.com/about/team/mohammer_rajjaz/>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Riyafa Abdul Hameed
>>>>>> Undergraduate, University of Moratuwa
>>>>>>
>>>>>> Email: riyafa...@cse.mrt.ac.lk
>>>>>> Website: https://riyafa.wordpress.com/ <http://riyafa.wordpress.com/>
>>>>>> <http://facebook.com/riyafa.ahf>  <http://lk.linkedin.com/in/riyafa>
>>>>>> <http://twitter.com/Riyafa1>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Riyafa Abdul Hameed
>>>>> Undergraduate, University of Moratuwa
>>>>>
>>>>> Email: riyafa...@cse.mrt.ac.lk
>>>>> Website: https://riyafa.wordpress.com/ <http://riyafa.wordpress.com/>
>>>>> <http://facebook.com/riyafa.ahf>  <http://lk.linkedin.com/in/riyafa>
>>>>> <http://twitter.com/Riyafa1>
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Thank you
>>>> Best Regards
>>>>
>>>> *Rajjaz HM*
>>>> Associate Software Engineer
>>>> WSO2 Inc. <http://wso2.com/>
>>>> lean | enterprise | middleware
>>>> Mobile | +94752833834|+94777226874
>>>> Email   | raj...@wso2.com
>>>> LinkedIn | Blogger | WSO2 Profile
>>>> <http://wso2.com/about/team/mohammer_rajjaz/>
>>>>
>>>
>>>
>>>
>>> --
>>> Riyafa Abdul Hameed
>>> Undergraduate, University of Moratuwa
>>>
>>> Email: riyafa...@cse.mrt.ac.lk
>>> Website: https://riyafa.wordpress.com/ <http://riyafa.wordpress.com/>
>>> <http://facebook.com/riyafa.ahf>  <http://lk.linkedin.com/in/riyafa>
>>> <http://twitter.com/Riyafa1>
>>>
>>
>>
>>
>> --
>>
>> Best Regards,
>>
>> Malaka Silva
>> Senior Tech Lead
>> M: +94 777 219 791
>> Tel : 94 11 214 5345
>> Fax :94 11 2145300
>> Skype : malaka.sampath.silva
>> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
>> Blog : http://mrmalakasilva.blogspot.com/
>>
>> WSO2, Inc.
>> lean . enterprise . middleware
>> http://www.wso2.com/
>> http://www.wso2.com/about/team/malaka-silva/
>> <http://wso2.com/about/team/malaka-silva/>
>> https://store.wso2.com/store/
>>
>> Save a tree -Conserve nature & Save the world for your future. Print this
>> email only if it is absolutely necessary.
>>
>
>
>
> --
> Riyafa Abdul Hameed
> Undergraduate, University of Moratuwa
>
> Email: riyafa...@cse.mrt.ac.lk
> Website: https://riyafa.wordpress.com/ <http://riyafa.wordpress.com/>
> <http://facebook.com/riyafa.ahf>  <http://lk.linkedin.com/in/riyafa>
> <http://twitter.com/Riyafa1>
>



-- 
Riyafa Abdul Hameed
Undergraduate, University of Moratuwa

Email: riyafa...@cse.mrt.ac.lk
Website: https://riyafa.wordpress.com/ <http://riyafa.wordpress.com/>
<http://facebook.com/riyafa.ahf>  <http://lk.linkedin.com/in/riyafa>
<http://twitter.com/Riyafa1>
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to