| time |
nick |
message |
07:38 |
<gaginn> |
gertv: hi |
07:40 |
<gaginn> |
Do you know, if I can have 2 sessions on one activeMQConnection? |
07:41 |
<gaginn> |
and one listenerContainer a and 2 destination on it? |
07:41 |
<gertv> |
2 sessions on 1 connection: yes |
07:42 |
<gertv> |
2 destinations on a listenerCOntainer: don't know -- I don't think so |
07:44 |
<gaginn> |
so, you think, that I must to create 2 containers? |
07:44 |
<gertv> |
yeah, I think so |
07:44 |
<gaginn> |
ok\ |
07:44 |
<gertv> |
which isn't too bad -- it's just two fields in the abstractauditor |
07:49 |
<gaginn> |
both containers can have the same connectionFactory or I must create 2 connectionFactory with the same broker URL |
09:28 |
<gertv> |
gnodet: ping |
09:28 |
<gnodet> |
gertv: pong |
09:29 |
<gertv> |
gnodet: did you take a look at the changes I committed this morning to make servicemix-bean independent of SMX3? |
09:29 |
<gertv> |
gnodet: are they ok for you? |
09:29 |
<gertv> |
gnodet: and I think there is a problem with your fix for SM-1524 in trunk |
09:30 |
<gnodet> |
gertv: how so ? it seems to work ... |
09:30 |
<gertv> |
gnodet: this fix works fine for branch, but in trunk, with the async handling, we shouldn't be disposing the working memory at that point in time imho |
09:30 |
<gnodet> |
ah, ok, i missed that |
09:30 |
<gertv> |
gnodet: there still is a call to helper.update() for a consumer exchange |
09:30 |
<gnodet> |
we should set up a test case for the async stuff i guess |
09:31 |
<gertv> |
we should set up a test case that evaluates the rules for a DONE InOUt messageExchange |
09:31 |
<gertv> |
everything else is being tested asynchronously |
09:32 |
<gertv> |
that was supported in the original code and is no longer working after your fix I think |
09:32 |
<gnodet> |
yeah, i see the problem |
09:32 |
<gnodet> |
btw, could you have a look at my comment on https://issues.apache.org/activemq/browse/SM-1515 ? |
09:32 |
<gertv> |
I was actually going to refactor this by adding a DroolsExecutionContext to hold the drools listeners and workingmemory |
09:33 |
<gertv> |
instead of holding on to the JbiHelper and having to wire that to everything else |
09:33 |
<gertv> |
yeah, that's a mistake I think |
09:33 |
<gertv> |
I added this first and only then did I discover the fix you made on trunk |
09:34 |
<gertv> |
so I backported your fix to branch (for an iona issue) but I should have removed this again |
09:34 |
<gnodet> |
btw, were you talking about http://svn.apache.org/viewvc?view=rev&revision=690139 ? it seems there's no code change at all, just modified imports |
09:34 |
<gertv> |
yeah, it's all about modifying imports, isn't it |
09:34 |
<gnodet> |
yeah, so i don't have any problems with that, it should be very low risk |
09:35 |
<gertv> |
gertv is trying to find the commit for the changes to -core and -utils |
09:35 |
<gnodet> |
so are you looking at the drools stuff or do you want me to handle it ? |
09:35 |
<gertv> |
this is what I did to the -utils to make this working |
09:35 |
<gertv> |
http://svn.apache.org/viewvc?view=rev&revision=690130 |
09:37 |
<gnodet> |
gertv: the MessageExchangeListener is a copy or a move ? |
09:37 |
<gertv> |
that's a copy |
09:37 |
<gnodet> |
ok |
09:37 |
<gertv> |
and I extended the old one of the new copy |
09:38 |
<gertv> |
so old beans hanging around with customers implementing the old interface will also be matched |
09:39 |
<gnodet> |
yeah |
09:39 |
<gnodet> |
btw, i don't see the commit on servicemix-core, have you commit it already ? |
09:39 |
<gertv> |
no, I just noticed it's still outstanding |
09:39 |
<gertv> |
and has checkstyle errors :( |
09:40 |
<gnodet> |
k |
09:42 |
<gertv> |
for the drools stuff - I can do it if you want, it's up to you |
09:42 |
<gertv> |
with servicemix-bean done, I don't expect to much of problem with the other components actually |
09:44 |
<gertv> |
gnodet: matching changes for -core are in http://svn.apache.org/viewvc?view=rev&revision=690162 |
09:45 |
<gnodet> |
i'm deep in servicemix-http right now, so i may not have much time today for the drools stuff |
09:45 |
<gertv> |
and for SM-1515, feel free to remove that or reopen/assign the issue for me to do it |
09:45 |
<gertv> |
ok, I'll cover that then |
09:45 |
<gertv> |
and I guess you take care of SM-1515 while you're at it? |
09:47 |
<gnodet> |
well, i don't see the need for the override in the soap case |
09:47 |
<gertv> |
no, as I said, that's a mistake on my behalf |
09:47 |
<gertv> |
I found that feature on the old endpoints and reproduced that |
09:47 |
<gnodet> |
i just need to make sure the SoapAction header is correctly set |
09:47 |
<gnodet> |
ok |
09:47 |
<gertv> |
only then to discover you made the other fix |
09:48 |
<gnodet> |
i've reassigned SM-1524 to you and SM-1515 to myself |
09:49 |
<gertv> |
thx |
09:49 |
<gnodet> |
btw, i think the old MessageExchangeListener interface should be empty no |
09:49 |
<gnodet> |
s/no/now |
09:49 |
<gertv> |
yeah, definitely |
09:50 |
<gertv> |
and I also missed adding some more deprecated's apparently |
12:10 |
<tong> |
hello |
12:10 |
<tong> |
every one |
12:10 |
<tong> |
tommorw is weekend |
12:11 |
<tong> |
time is so speed |
12:38 |
<gertv> |
gnodet: ping |
12:38 |
<gnodet> |
gertv: pong |
12:38 |
<gertv> |
gnodet: how about the jsr181 component? it now has the ability to inject the JBIContainer into the POJO |
12:39 |
<gertv> |
gnodet: since it's getting kind of deprecated, it's probably not worth spending too much time on that |
12:39 |
<gnodet> |
yeah, we can defer that a bit i guess |
12:40 |
<gnodet> |
we could use introspection somehow to avoid having a strong reference to smx3 |
12:40 |
<gertv> |
we already do |
12:40 |
<gertv> |
Method mth = pojo.getClass().getMethod("setContainer", new Class[] {JBIContainer.class }); |
12:40 |
<gertv> |
mth.invoke(pojo, new Object[] {container }); |
12:40 |
<gertv> |
if this is what you mean? |
12:45 |
<gnodet> |
no, we need to avoid the JBIContainer import from the Jsr181Endpoint, else it won't load in servicemix 4 |
12:45 |
<gnodet> |
at least not with an osgi packaging |
12:45 |
<gnodet> |
though it work with the jbi one |
12:45 |
<gertv> |
but since it is deprecated for smx4, can't we add this component to an extra/deprecated folder |
12:45 |
<gertv> |
and also add servicemix-core there as a bundle? |
12:46 |
<gnodet> |
that's a possibility |
12:46 |
<gertv> |
or only add the JBI packaged component to the extra/deprecated |
12:48 |
<gertv> |
not adding it with osgi packaging at all |
12:50 |
<gnodet> |
the jbi component mandates servicemix-shared ... |
12:51 |
<gertv> |
right... so we add it as an osgi bundle and mention in the readme how to osgi -s the 3.3 servicemix-core |
12:52 |
<gertv> |
so we don't need the latter for building the smx4 kit, but people can still use jsr181 |
12:52 |
<gertv> |
and we have notified them that they should be starting to use the CXF components |
13:21 |
<gertv> |
gnodet: what about the wsn PublisherComponent? |
13:21 |
<gertv> |
gnodet: that uses the lightweight component way of working, apparently |
13:21 |
<gnodet> |
yes it is |
13:26 |
<gnodet> |
we should rewrite one for smx4 at some point |
14:10 |
<gertv> |
gnodet: do you think many users are using the JBIContainer.getComponent() directly? |
14:10 |
<gertv> |
gnodet: I'd like to rename it to getComponentMBean and add a real getComponent() that returns the Component directly |
14:11 |
<gertv> |
gnodet: instead of inventing a fake interface like ComponentHolder or ComponentWrapper to implement on the ComponentMBeanImpl |
14:15 |
<gertv> |
gnodet: or I can implement the few additional methods that aren't being delegated already on the ComponentMBeanImpl to make it implement Component? |
14:17 |
<gnodet> |
gertv: you want to give access to the javax.jbi.Component ? i think it's wrapped so I'm not sure it it would work |
14:17 |
<gertv> |
yeah, that's my problem |
14:17 |
<gertv> |
it's wrapped in the ComponentMBeanImpl |
14:18 |
<gertv> |
so to avoid the dependency on the ComponentMBeanImpl, I could add another interface like ComponentWrapper |
14:19 |
<gnodet> |
gertv: have you seen the Container class in org.apache.servicemix.common ? |
14:20 |
<gertv> |
now I have ;) |
14:21 |
<gertv> |
I added an interface Container for the same reasons |
14:24 |
<gertv> |
you suggest I remove the interface and implement the getClientFactory() and getComponent() here too? |
14:26 |
<gnodet> |
i guess it depends what we want to port to smx4 |
14:27 |
<gnodet> |
the getComponent would only be used by the http managed servlet ? |
14:27 |
<gnodet> |
not sure if this class will ever be used in servicemix 4 ... |
14:28 |
<gertv> |
that's the only place where we really need it right now |
14:28 |
<gertv> |
we have a few other places that do the same routine |
14:28 |
<gertv> |
get the container -> get the mbean -> get the component |
14:28 |
<gertv> |
but those are either in tests or in the container itself |
14:28 |
<gnodet> |
outside servicemix-core ? |
14:28 |
<gnodet> |
yeah |
14:29 |
<gnodet> |
so the above servlet is only used when embedding smx3 in a war |
14:30 |
<gnodet> |
i think we should aim to make the components as much independant on smx jbi container, rather than implementing some common interface (which would then tie them to either smx3/smx4, but would still be tied to smx somehow) |
14:31 |
<gertv> |
yeah, that would be the next step I guess |
14:31 |
<gertv> |
once we get rid of the compile-time dependencies, we should check why and if we really need the dependencies on the custom API |
14:31 |
<gertv> |
that's the reason I put the API like stuff in separate package |
14:32 |
<gnodet> |
i'm really more worried about runtime dependencies rather than compile-time dependencies |
14:32 |
<gnodet> |
i see |
14:32 |
<gertv> |
we should be depending on any custom API really - right? |
14:33 |
<gertv> |
only the pure JBI API and our own SL |
14:33 |
<gertv> |
it might be ok to provide additional features if you use the component on smx though |
14:34 |
<gertv> |
and that we could use the custom API for -- but I agree we should get rid of those as a runtime dependency too |
14:34 |
<gnodet> |
yeah |
14:34 |
<gnodet> |
for example the CxfSeProxyFactoryBean is a problem (and the jsr181 one too) |
14:36 |
<gertv> |
yep, it is |
14:38 |
<gertv> |
perhaps I should mark the custom API parts in -utils deprecated then? |
14:38 |
<gertv> |
and open a subsequent issue to factor that out after the builds have been properly split? |
14:39 |
<gertv> |
although it would be nice to have e.g. a custom API for talking JBI to SMX3 and SMX4 |
14:39 |
<gertv> |
like the client API |
14:39 |
<gertv> |
but we should still factor out things like the Container interface |
14:43 |
<gnodet> |
i don't think the client api is heavily used |
14:43 |
<gnodet> |
it was leaking memory until quite recently and no one noticed that |
14:43 |
<gnodet> |
(the DONE status was not sent for InOut exchanges) |
14:44 |
<gertv> |
is that the question we had a few weeks back on the mailing list then? |
14:44 |
<gnodet> |
i don't recall |
14:45 |
<gnodet> |
i found the problem when writing unit tests |
14:46 |
<gertv> |
http://cwiki.apache.org/SM/discussion-forums.html#nabble-td18962632 |
14:47 |
<gertv> |
well, I did recommend the API a few times in the past on questions on the mailing list |
14:48 |
<gertv> |
so it's a good thing it got fixed |
15:40 |
<jstrachan> |
btw dumb question - why does the smx4 maven plugins only build in the 'all' profile? |
15:40 |
<jstrachan> |
i.e. who would try build that without using the profile? |
15:55 |
<gertv> |
jstrachan: what pom.xml are you looking at? |
15:57 |
<jgenender> |
jstrachan: Hi! |
15:59 |
<jstrachan> |
jgenender: hey! |
16:00 |
<jgenender> |
Good to see ya ;-) |
16:00 |
<jstrachan> |
gertv: just tried to build https://svn.apache.org/repos/asf/servicemix/maven-plugins/.../trunk and scratched my head a bit why nothing built |
16:00 |
<jstrachan> |
jgenender: you too! :) |
16:03 |
<gertv> |
jstrachan: looks like chirino_m added the profile |
16:07 |
<gertv> |
jstrachan: the commit comment for it is "Can't seem to be able to use the release plugin in a non-reactor mode, so move the module declarations into a profile" |
16:14 |
<gertv> |
jstrachan: just made the profile active by default -- this should be enough to avoid people scratching their heads over it ;) |
16:16 |
<jstrachan> |
yay |