-
Notifications
You must be signed in to change notification settings - Fork 71
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
Address #157 - Update IslandoraSync to use a configurable activeMQ br… #158
Conversation
@daniel-dgi ready for review. ...and this should help out @nigelgbanks. |
@@ -34,4 +34,9 @@ | |||
<routeContextRef ref="drupalAuthentication"/> | |||
</camelContext> | |||
|
|||
<!-- configuration of activemq component --> | |||
<bean id="activemq" class="org.apache.activemq.camel.component.ActiveMQComponent"> | |||
<property name="islandora.brokerUrl" value="${jms.islandora.brokerUrl}"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just islandora.brokerUrl
here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also need to add a cm:property tag around line 17
Awesome thanks! On a side note I setup a container with SSH and tunnelled the JMS port so it looked like it was coming from local host fooled cURL, but I still couldn't get everything working. So... I build a kitchensink container with all of our dependancies in the same container (Fedora got updated but Drupal did not get fedora properties synced back into it). I'm still digging though but this should help me test the non-kitchen sink version. |
@daniel-dgi pushed updates |
@@ -5,3 +5,4 @@ islandora.fcrepo.baseurl = localhost:8080/fcrepo/rest | |||
islandora.php.workingDir = /home/vagrant/islandora/camel/commands/bin | |||
islandora.php.executable = islandora.php | |||
islandora.triplestore.baseurl = localhost:8080/bigdata/namespace/kb/sparql | |||
islandora.brokerUrl = localhost:61616 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be tcp://localhost:61616
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
doh. updating now.
@whikloj updated 😄 |
This should work, but I get
I compared it to one of @acoburn's blueprint.xml files and it looks the same. So either Aries or Camel or something is screwing up, but at this point I'm ready to toss the whole lot in favour of never using OSGi again. Who wants next? |
@whikloj, what about trying with It's in the docs |
Diego is (of course) right. But I still can't get this to run properly. Between the Blueprint/OSGi fight that causes getOSGiService() to timeout periodically and (this is a new one to me from the last try) the Islandora services kept re-starting/re-deploying over and over. Maybe due to me changing the getCamelContextCreationTimeout? |
@@ -34,4 +35,9 @@ | |||
<routeContextRef ref="drupalAuthentication"/> | |||
</camelContext> | |||
|
|||
<!-- configuration of activemq component --> | |||
<bean id="activemq" class="org.apache.activemq.camel.component.ActiveMQComponent"> | |||
<property name="brokerUrl" value="${islandora.brokerUrl}"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mea culpa @ruebot, this should be <property name="brokerURL" value="${islandora.brokerUrl}"/>
Why I am not a good proof-reader.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OH!
@whikloj @DiegoPino updated again 😄 |
@DiegoPino just needed to restart them. Fine now. |
Yeah that is probably the |
Address #157 - Update IslandoraSync to use a configurable activeMQ br…
…oker url.