Java CAPS 6, Using JCA, Note 1, JCA-based JMS Consumer

In addition to doing it the hard way, which is something a developer could always do and frequently did, Java CAPS 6 gives a developer 4 ways in which to receive messages from a JMS Destination. Two of these will be familiar to the Java CAPS 5.x developer and involve a JMS-triggered JCD and a JMS-triggered eInsight BP. Of the two additional ways in Java CAPS 6, one involves the use of the JBI infrastructure through the JMS Binding Component (JMS BC) and one involves the use of the just introduced evolution of the 5.x eWays variously referred to as Global RARs or Java 1.5 EE JCA adapters.


This discussion revolves around the JCA adapter use and points out, appearances notwithstanding, how easy it will be for a JCD developer to develop JCD-equivalent ‘collaborations’ using JCA adapters in Java CAPS 6.


Note that OpenESB does not provide this functionality and that this functionality has nothing whatever to do with the JBI.


Credits go to Frank Kieviet and others who proposed and oversaw the evolution of the eWays into JCAs and Dao Tien Tran whose JCA tutorial helped me get started.


Here is the document that discusses the topic: 05JCA-basedJMSConsummer.pdf

Comments:

hi michael,

can you link to the tutorial (JCA)?

regards chris

Posted by Christian Brennsteiner on July 11, 2008 at 02:12 PM EST #

Chris,
Its on the JavaCAPS wiki:
http://wikis.sun.com/display/JavaCAPS/JCA+Adapter+Tutorial

Jason

Posted by jason on July 11, 2008 at 02:32 PM EST #

thanks jason!

Posted by Christian Brennsteiner on July 12, 2008 at 02:54 AM EST #

Michael,

we developed JCA JMS few weeks back as part of live project(in JCAPS 6). But I need your advice on using JMS JCA from a normal java class in Netbeans.

JMS sender works fine when I create any JCA driven bean. But if I create a normal java class (as part of EJB module) and then try to use JMS JCA ( from palette) as sender, it gives null pointer exception.

Can you please share your thoughts on this? or if you have ever used JMS JCA with a normal class file ( in JCAP 6 ofcourse)

I will try to do some more research to figure out whats going on.

Note: I check your blog on daily basis and have learnt quite a bit from it. I will try to post my question to Seebeyound forum also.

Thanks,
Rajan

Posted by Rajan on July 13, 2008 at 09:06 AM EST #

Hello, Rajan.

Alas, this is all new stuff. I have not gone as far as you have yet :-)

If/when I have something I will post.

Regards

Michael

Posted by Michael on July 14, 2008 at 01:03 AM EST #

Post a Comment:
  • HTML Syntax: NOT allowed
About

In this Blog I post abstracts of articles / writeups / notes on various aspects of Java CAPS and SOA Suite including solutions, discussions and screencasts. The links to the referenced material are included in the bodies of the abstracts.

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today