-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JMS support for durable subscriptions #2459
Comments
Sebb (migrated from Bugzilla): Patch looks generally OK from a visual inspection. It would be helpful to also have a patch for the documentation, i.e. component_reference.xml, which explains what the new field does. BTW, the getProperty() and setProperty() methods have versions which provide defaults. The get default can be used to ensure the value is not null. We try to use this for new properties, otherwise the JMX files keep growing. No need to update the patch - that can be fixed later. |
Christoph Jahn (migrated from Bugzilla):
Created attachment JMeter_JMS_DurableSubscription.patch: Patch to support durable subscriptions to JMS Subscriber Sampler |
Christoph Jahn (migrated from Bugzilla): Created attachment jmssubscriber.png: Screenshot of JMS Subscriber sampler |
Sebb (migrated from Bugzilla):
The patch file is identical to the previous one - wrong file attached? |
Christoph Jahn (migrated from Bugzilla): Created attachment JMeter_JMS_DurableSubscription.patch-3.txt: Patch to support durable subscriptions to JMS Subscriber Sampler (v3) |
Sebb (migrated from Bugzilla): Still no sign of a patch for component_reference.xml however. If you have done the work, please attach a separate patch containing just that. |
Christoph Jahn (migrated from Bugzilla): Created attachment JMeter_JMS_DurableSubscription_comp-ref-xml.patch.txt: Addendum to patch v3 with component_reference.xml JMeter_JMS_DurableSubscription_comp-ref-xml.patch.txtIndex: xdocs/usermanual/component_reference.xml
===================================================================
--- xdocs/usermanual/component_reference.xml (revision 1082821)
+++ xdocs/usermanual/component_reference.xml (working copy)
@@ -1236,6 +1236,8 @@
<property name="JNDI Initial Context Factory" required="No">Name of the context factory</property>
<property name="Provider URL" required="No">The URL for the jms provider</property>
<property name="Destination" required="Yes">the message destination (topic or queue name)</property>
+ <property name="Durable Subscription ID" required="No">The ID to use for a durable subscription. On first
+ use the respective queue will automatically be generated by the JMS provider if it does not exist yet.</property>
<property name="Setup" required="Yes">The destination setup type. With At startup, the destination name is static (i.e. always same name during the test), with Each sample, the destination name is dynamic and is evaluate at each sample (i.e. the destination name may be a variable)</property>
<property name="Authentication" required="Yes">Authentication requirement for the JMS provider</property>
<property name="User" required="No">User Name</property> |
Sebb (migrated from Bugzilla): URL: http://svn.apache.org/viewvc?rev=1082871&view=rev |
Christoph Jahn (Bug 50666):
Here is a patch that adds support for durable subscriptions to the JMS Subscriber Sampler.
It was created against trunk as of yesterday morning (revision 1063734).
This is my very first contribution of this kind, and although I have spent quite some time going through various documentation, I may well have missed some guideline.
Created attachment JMeter_JMS_DurableSubscription.patch: Patch to support durable subscriptions to JMS Subscriber Sampler
OS: All
The text was updated successfully, but these errors were encountered: