Discussions

News: Jencks 1.0 Released: Spring based Message Driven POJOs

  1. Jencks is a lightweight JCA container which is easy to deploy inside Spring to provide Message Driven POJOs.

    In addition Jencks supports inbound and outbound messaging using APIs like JMS, JAX-RPC, JBI and JCA CCI as well as providing an XA based pooling mechanism for JDBC. e.g. here is how to use Outbound JMS.

    Jencks by default reuses the Geronimo JCA connector, WorkManager and TransactionManager - though there are no fixed runtime dependencies on Geronimo so you should be able to use Jencks with JOTM and Jonas too - though we recommend the Geronimo implementations as they are heavily tested and support full XA recovery.

    Grab it while its hot or browse the release notes.

    Threaded Messages (6)

  2. 1 - Does it support JCA 1.0?

    2 - I have a JCA adapter and I want to unit test it. Do you have examples or guide for doing it? I dont want to run the full JEE container.

    Thx
  3. 1 - Does it support JCA 1.0?2 - I have a JCA adapter and I want to unit test it. Do you have examples or guide for doing it? I dont want to run the full JEE container.Thx

    JCA 1.0 should be supported, though its worth testing to be sure :) All our development and testing has been on JCA 1.5. Though 1.5 mostly just adds message inflow & transactions support, so 1.0 based connectors should still work.

    In terms of testing, the best way is to try out one of our test cases; maybe you can make something similar - configure your adaptor in Spring then write a small JUnit test case to test it works?

    e.g. here's a bunch of outbound based test cases...
    http://cvs.jencks.codehaus.org/jencks/src/test/java/org/jencks/samples/outbound/

    together with the spring XML config files
    http://cvs.jencks.codehaus.org/jencks/src/test/resources/org/jencks/samples/outbound/

    Just out of interest, what kind of JCA adapter is it?

    James
    LogicBlaze
  4. Support for tibco[ Go to top ]

    Can I use it with tibco jms (EMS). I understand that along with JMS provider (EMS) I also need JCA Resource Adapter. So my question is does tibco comes with JCA Resource Adapter. I looked at the tibco jar file but can not figure out by looking at the file names in there. If it does not ship with one can I use any other JCA Resource Adapter.
  5. Support for tibco[ Go to top ]

    Can I use it with tibco jms (EMS). I understand that along with JMS provider (EMS) I also need JCA Resource Adapter. So my question is does tibco comes with JCA Resource Adapter. I looked at the tibco jar file but can not figure out by looking at the file names in there. If it does not ship with one can I use any other JCA Resource Adapter.

    You can use the GenericRA to work with JMS providers which don't supply a native Resource Adaptor.

    http:/genericra.dev.java.net/

    e.g. this Jencks test case uses GenericRA with a regular JMS provider

    http://cvs.jencks.codehaus.org/jencks/src/test/resources/org/jencks/samples/outbound/jencks-genericjmsra.xml?rev=HEAD&view=auto

    James
    LogicBlaze
  6. Congratulations[ Go to top ]

    Hey James, well done! I knew these ideas would come to fruition. With so few people actually understanding JCA the availablility of a portable (i.e. not container-bound) implementation will really help.

    One question, does "Jencks" play the piano as well as its namesake David?

    Kind regards, Robin.
  7. Congratulations[ Go to top ]

    Hey James, well done! I knew these ideas would come to fruition. With so few people actually understanding JCA the availablility of a portable (i.e. not container-bound) implementation will really help.One question, does "Jencks" play the piano as well as its namesake David?Kind regards, Robin.

    I think we need a Resource Adaptor for that one :)

    Thanks Robin!

    James
    LogicBlaze