<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="https://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    Re: Replacement for sun-jms-adapter.rar?
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="https://community.jboss.org/people/rbwhitaker">RB Whitaker</a> in <i>IronJacamar</i> - <a href="https://community.jboss.org/message/759092#759092">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>Yes and no. It got me started, but then shortly after getting started, I... got stuck. Big time. <span> :) </span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>When I run rar-info, I get something that looks like this:</p><blockquote class="jive-quote"><p>&lt;?xml version="1.0" encoding="UTF-8" standalone="no"?&gt;</p><p>&lt;resource-adapters&gt;</p><p>&#160; &lt;resource-adapter&gt;</p><p>&#160;&#160;&#160; &lt;archive&gt;C:\Users\rbwhitak\Desktop\The Bucket\genericra.rar&lt;/archive&gt;</p><p>&#160;&#160;&#160; &lt;config-property name="LogLevel"/&gt;</p><p>&#160;&#160;&#160; &lt;config-property name="CommonSetterMethodName"/&gt;</p><p>&#160;&#160;&#160; &lt;config-property name="TopicClassName"/&gt;</p><p>&#160;&#160;&#160; &lt;config-property name="QueueConnectionFactoryClassName"/&gt;</p><p>&#160;&#160;&#160; &lt;config-property name="Password"/&gt;</p><p>&#160;&#160;&#160; &lt;config-property name="UseFirstXAForRedelivery"/&gt;</p><p>&#160;&#160;&#160; &lt;config-property name="UserName"/&gt;</p><p>&#160;&#160;&#160; &lt;config-property name="ConnectionFactoryClassName"/&gt;</p><p>&#160;&#160;&#160; &lt;config-property name="ConnectionFactoryProperties"/&gt;</p><p>&#160;&#160;&#160; &lt;config-property name="JndiProperties"/&gt;</p><p>&#160;&#160;&#160; &lt;config-property name="RMPolicy"/&gt;</p><p>&#160;&#160;&#160; &lt;config-property name="XAConnectionFactoryClassName"/&gt;</p><p>&#160;&#160;&#160; &lt;config-property name="SupportsXA"/&gt;</p><p>&#160;&#160;&#160; &lt;config-property name="UnifiedDestinationClassName"/&gt;</p><p>&#160;&#160;&#160; &lt;config-property name="QueueClassName"/&gt;</p><p>&#160;&#160;&#160; &lt;config-property name="XAQueueConnectionFactoryClassName"/&gt;</p><p>&#160;&#160;&#160; &lt;config-property name="DeliveryType"/&gt;</p><p>&#160;&#160;&#160; &lt;config-property name="XATopicConnectionFactoryClassName"/&gt;</p><p>&#160;&#160;&#160; &lt;config-property name="ProviderIntegrationMode"/&gt;</p><p>&#160;&#160;&#160; &lt;config-property name="TopicConnectionFactoryClassName"/&gt;</p><p>&#160;&#160;&#160; &lt;transaction-support&gt;XATransaction&lt;/transaction-support&gt;</p><p>&#160;&#160;&#160; &lt;connection-definitions&gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;connection-definition class-name="com.sun.genericra.outbound.ManagedQueueConnectionFactory" enabled="true" jndi-name="java:jboss/eis/QueueConnection" pool-name="QueueConnection" use-ccm="true" use-java-context="true"&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;config-property name="ClientId"/&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;config-property name="ConnectionValidationEnabled"/&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;config-property name="ConnectionFactoryJndiName"/&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;xa-pool&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;min-pool-size&gt;0&lt;/min-pool-size&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;max-pool-size&gt;10&lt;/max-pool-size&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;prefill&gt;false&lt;/prefill&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;use-strict-min&gt;false&lt;/use-strict-min&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;flush-strategy&gt;FailingConnectionOnly&lt;/flush-strategy&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;pad-xid&gt;false&lt;/pad-xid&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;wrap-xa-resource&gt;true&lt;/wrap-xa-resource&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/xa-pool&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;security&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;application/&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/security&gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;/connection-definition&gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;connection-definition class-name="com.sun.genericra.outbound.ManagedTopicConnectionFactory" enabled="true" jndi-name="java:jboss/eis/TopicConnection" pool-name="TopicConnection" use-ccm="true" use-java-context="true"&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;config-property name="ClientId"/&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;config-property name="ConnectionValidationEnabled"/&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;config-property name="ConnectionFactoryJndiName"/&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;xa-pool&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;min-pool-size&gt;0&lt;/min-pool-size&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;max-pool-size&gt;10&lt;/max-pool-size&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;prefill&gt;false&lt;/prefill&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;use-strict-min&gt;false&lt;/use-strict-min&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;flush-strategy&gt;FailingConnectionOnly&lt;/flush-strategy&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;pad-xid&gt;false&lt;/pad-xid&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;wrap-xa-resource&gt;true&lt;/wrap-xa-resource&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/xa-pool&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;security&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;application/&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/security&gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;/connection-definition&gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;connection-definition class-name="com.sun.genericra.outbound.ManagedJMSConnectionFactory" enabled="true" jndi-name="java:jboss/eis/Connection" pool-name="Connection" use-ccm="true" use-java-context="true"&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;config-property name="ClientId"/&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;config-property name="ConnectionValidationEnabled"/&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;config-property name="ConnectionFactoryJndiName"/&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;xa-pool&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;min-pool-size&gt;0&lt;/min-pool-size&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;max-pool-size&gt;10&lt;/max-pool-size&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;prefill&gt;false&lt;/prefill&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;use-strict-min&gt;false&lt;/use-strict-min&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;flush-strategy&gt;FailingConnectionOnly&lt;/flush-strategy&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;pad-xid&gt;false&lt;/pad-xid&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;wrap-xa-resource&gt;true&lt;/wrap-xa-resource&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/xa-pool&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;security&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;application/&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/security&gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;/connection-definition&gt;</p><p>&#160;&#160;&#160; &lt;/connection-definitions&gt;</p><p>&#160;&#160;&#160; &lt;admin-objects&gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;admin-object class-name="com.sun.genericra.outbound.QueueProxy" enabled="true" jndi-name="java:jboss/eis/ao/QueueProxy" pool-name="QueueProxy" use-java-context="true"&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;config-property name="DestinationJndiName"/&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;config-property name="DestinationProperties"/&gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;/admin-object&gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;admin-object class-name="com.sun.genericra.outbound.TopicProxy" enabled="true" jndi-name="java:jboss/eis/ao/TopicProxy" pool-name="TopicProxy" use-java-context="true"&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;config-property name="DestinationJndiName"/&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;config-property name="DestinationProperties"/&gt;</p><p>&#160;&#160;&#160;&#160;&#160; &lt;/admin-object&gt;</p><p>&#160;&#160;&#160; &lt;/admin-objects&gt;</p><p>&#160; &lt;/resource-adapter&gt;</p><p>&lt;/resource-adapters&gt;</p></blockquote><p>But there's all of those config-property elements that need a value, and I'm having to do a lot of guessing to figure out what values they're supposed to be. Some are easier than others to guess. For instance, QueueClassName I think I can figure out, but ProviderIntegrationMode is not so obvious.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Is there any more intelligent way to figure out what these values should be, besides guess and check?</p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="https://community.jboss.org/message/759092#759092">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in IronJacamar at <a href="https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2098">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>